Skip to content
docs

TronHistorySource

Defined in: wallet-tron/src/history.ts:69

Tron history from TronGrid’s account endpoints (TRX and TRC-20). Build it with createTronHistory.

  • 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<TronChainTx | undefined>

Defined in: wallet-tron/src/history.ts:71

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

string

string

Promise<TronChainTx | undefined>

HistorySource.getTransaction


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

Defined in: wallet-tron/src/history.ts:70

Newest first.

string

HistoryQuery

Promise<TronHistoryPage>

HistorySource.listActivity