Skip to content
docs

SolanaHistoryOptions

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

Options for createSolanaHistory.

optional batchSize?: number

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

getTransaction calls per JSON-RPC batch, 1–10. Default 10.


optional fetch?: HistoryFetch

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

Fetch implementation; defaults to the global fetch.


optional maxTokenAccounts?: number

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

Token accounts included in the merge (the wallet itself is always included). Default 50.


optional network?: "mainnet" | "devnet" | "testnet"

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

mainnet (default), devnet, testnet — picks the CAIP-2 id and the explorer cluster.


optional rateLimit?: number

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

RPC requests per second (a batch counts as one request). Default 5.


optional rpcUrl?: string

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

One JSON-RPC endpoint.


optional rpcUrls?: string[]

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

Several endpoints, tried in order per request (failover).


optional timeoutMs?: number

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

Per request, ms. Default 15 000.