BtcHistoryOptions
Defined in: wallet-btc/src/history.ts:19
Options for createBtcHistory.
Properties
Section titled “Properties”blockbookUrl?
Section titled “blockbookUrl?”
optionalblockbookUrl?:string
Defined in: wallet-btc/src/history.ts:21
One Blockbook root (https://btc1.trezor.io).
blockbookUrls?
Section titled “blockbookUrls?”
optionalblockbookUrls?:string[]
Defined in: wallet-btc/src/history.ts:23
Several roots, tried in order (failover).
fetch?
Section titled “fetch?”
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: wallet-btc/src/history.ts:26
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
network?
Section titled “network?”
optionalnetwork?:BtcNetwork
Defined in: wallet-btc/src/history.ts:25
bitcoin (default), testnet, regtest.
pageSize?
Section titled “pageSize?”
optionalpageSize?:number
Defined in: wallet-btc/src/history.ts:30
Rows per Blockbook page (its max is 1000). Default: the query limit, capped at 100.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: wallet-btc/src/history.ts:28
Per request, ms. Default 15 000.