Skip to content
docs

BtcHistorySource

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

Bitcoin history from a Blockbook instance. Build it with createBtcHistory.

  • HistorySource

readonly chain: string

Defined in: core/dist/index-QWdcwE6y.d.ts:231

CAIP-2 chain id this source serves.

HistorySource.chain

explorerTxUrl(hash): string

Defined in: core/dist/index-QWdcwE6y.d.ts:237

Explorer URL for a transaction.

string

string

HistorySource.explorerTxUrl


getTransaction(hash, address): Promise<BtcChainTx | undefined>

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

One transaction by hash, normalized the same way (undefined when unknown / not yet indexed).

string

string

Promise<BtcChainTx | undefined>

HistorySource.getTransaction


listActivity(address, query?): Promise<BtcHistoryPage>

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

Newest first.

string

HistoryQuery

Promise<BtcHistoryPage>

HistorySource.listActivity