TonHistorySource
Defined in: wallet-ton/src/history.ts:71
TON history from tonapi events with a toncenter v3 fallback. Build it with createTonHistory.
Extends
Section titled “Extends”HistorySource
Properties
Section titled “Properties”
readonlychain:string
Defined in: core/dist/index-QWdcwE6y.d.ts:231
CAIP-2 chain id this source serves.
Inherited from
Section titled “Inherited from”HistorySource.chain
Methods
Section titled “Methods”explorerTxUrl()
Section titled “explorerTxUrl()”explorerTxUrl(
hash):string
Defined in: core/dist/index-QWdcwE6y.d.ts:237
Explorer URL for a transaction.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”HistorySource.explorerTxUrl
getTransaction()
Section titled “getTransaction()”getTransaction(
hash,address):Promise<TonChainTx|undefined>
Defined in: wallet-ton/src/history.ts:73
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<TonChainTx | undefined>
Overrides
Section titled “Overrides”HistorySource.getTransaction
listActivity()
Section titled “listActivity()”listActivity(
address,query?):Promise<TonHistoryPage>
Defined in: wallet-ton/src/history.ts:72
Newest first.
Parameters
Section titled “Parameters”address
Section titled “address”string
query?
Section titled “query?”HistoryQuery
Returns
Section titled “Returns”Promise<TonHistoryPage>
Overrides
Section titled “Overrides”HistorySource.listActivity