HistorySource
Defined in: history.ts:96
Where a chain package gets an address’s transaction history.
Properties
Section titled “Properties”
readonlychain:string
Defined in: history.ts:98
CAIP-2 chain id this source serves.
Methods
Section titled “Methods”explorerTxUrl()
Section titled “explorerTxUrl()”explorerTxUrl(
hash):string
Defined in: history.ts:104
Explorer URL for a transaction.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
getTransaction()
Section titled “getTransaction()”getTransaction(
hash,address):Promise<ChainTx|undefined>
Defined in: history.ts:102
One transaction by hash, normalized the same way (undefined when unknown / not yet indexed).
Parameters
Section titled “Parameters”string
address
Section titled “address”string
Returns
Section titled “Returns”Promise<ChainTx | undefined>
listActivity()
Section titled “listActivity()”listActivity(
address,query?):Promise<HistoryPage>
Defined in: history.ts:100
Newest first.
Parameters
Section titled “Parameters”address
Section titled “address”string
query?
Section titled “query?”Returns
Section titled “Returns”Promise<HistoryPage>