Skip to content
docs

BtcHistoryOptions

Defined in: wallet-btc/src/history.ts:19

Options for createBtcHistory.

optional blockbookUrl?: string

Defined in: wallet-btc/src/history.ts:21

One Blockbook root (https://btc1.trezor.io).


optional blockbookUrls?: string[]

Defined in: wallet-btc/src/history.ts:23

Several roots, tried in order (failover).


optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: wallet-btc/src/history.ts:26

(input, init?): Promise<Response>

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | URL | Request

RequestInit

Promise<Response>


optional network?: BtcNetwork

Defined in: wallet-btc/src/history.ts:25

bitcoin (default), testnet, regtest.


optional pageSize?: number

Defined in: wallet-btc/src/history.ts:30

Rows per Blockbook page (its max is 1000). Default: the query limit, capped at 100.


optional timeoutMs?: number

Defined in: wallet-btc/src/history.ts:28

Per request, ms. Default 15 000.