SolanaHistorySource
Defined in: wallet-solana/src/history.ts:69
Solana history from JSON-RPC alone (getSignaturesForAddress + getTransaction), merged across
the wallet and its token accounts. Build it with createSolanaHistory.
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<SolanaChainTx|undefined>
Defined in: wallet-solana/src/history.ts:71
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<SolanaChainTx | undefined>
Overrides
Section titled “Overrides”HistorySource.getTransaction
listActivity()
Section titled “listActivity()”listActivity(
address,query?):Promise<SolanaHistoryPage>
Defined in: wallet-solana/src/history.ts:70
Newest first.
Parameters
Section titled “Parameters”address
Section titled “address”string
query?
Section titled “query?”HistoryQuery
Returns
Section titled “Returns”Promise<SolanaHistoryPage>
Overrides
Section titled “Overrides”HistorySource.listActivity
tokenAccounts()
Section titled “tokenAccounts()”tokenAccounts(
address):Promise<string[]>
Defined in: wallet-solana/src/history.ts:73
Token accounts (both programs) merged into the address’s history; cached per address.
Parameters
Section titled “Parameters”address
Section titled “address”string
Returns
Section titled “Returns”Promise<string[]>