Skip to content
docs

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.

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

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

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

string

string

Promise<SolanaChainTx | undefined>

HistorySource.getTransaction


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

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

Newest first.

string

HistoryQuery

Promise<SolanaHistoryPage>

HistorySource.listActivity


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.

string

Promise<string[]>