SolanaHistoryOptions
Defined in: wallet-solana/src/history.ts:25
Options for createSolanaHistory.
Properties
Section titled “Properties”batchSize?
Section titled “batchSize?”
optionalbatchSize?:number
Defined in: wallet-solana/src/history.ts:39
getTransaction calls per JSON-RPC batch, 1–10. Default 10.
fetch?
Section titled “fetch?”
optionalfetch?:HistoryFetch
Defined in: wallet-solana/src/history.ts:33
Fetch implementation; defaults to the global fetch.
maxTokenAccounts?
Section titled “maxTokenAccounts?”
optionalmaxTokenAccounts?:number
Defined in: wallet-solana/src/history.ts:41
Token accounts included in the merge (the wallet itself is always included). Default 50.
network?
Section titled “network?”
optionalnetwork?:"mainnet"|"devnet"|"testnet"
Defined in: wallet-solana/src/history.ts:31
mainnet (default), devnet, testnet — picks the CAIP-2 id and the explorer cluster.
rateLimit?
Section titled “rateLimit?”
optionalrateLimit?:number
Defined in: wallet-solana/src/history.ts:35
RPC requests per second (a batch counts as one request). Default 5.
rpcUrl?
Section titled “rpcUrl?”
optionalrpcUrl?:string
Defined in: wallet-solana/src/history.ts:27
One JSON-RPC endpoint.
rpcUrls?
Section titled “rpcUrls?”
optionalrpcUrls?:string[]
Defined in: wallet-solana/src/history.ts:29
Several endpoints, tried in order per request (failover).
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: wallet-solana/src/history.ts:37
Per request, ms. Default 15 000.