NearHistoryOptions
Defined in: wallet-near/src/history.ts:26
Options for createNearHistory.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey?:string
Defined in: wallet-near/src/history.ts:30
nearblocks Bearer key. Keyless use is limited to a few requests per minute.
fetch?
Section titled “fetch?”
optionalfetch?:HistoryFetch
Defined in: wallet-near/src/history.ts:34
nearblocksUrl?
Section titled “nearblocksUrl?”
optionalnearblocksUrl?:string
Defined in: wallet-near/src/history.ts:28
nearblocks root. Default https://api.nearblocks.io (https://api-testnet.nearblocks.io on testnet).
network?
Section titled “network?”
optionalnetwork?:"mainnet"|"testnet"
Defined in: wallet-near/src/history.ts:33
rateLimit?
Section titled “rateLimit?”
optionalrateLimit?:number
Defined in: wallet-near/src/history.ts:36
nearblocks requests per second. Default 0.1 (6/min) without a key, 5 with one.
rpcUrl?
Section titled “rpcUrl?”
optionalrpcUrl?:string
Defined in: wallet-near/src/history.ts:32
Archival JSON-RPC (https://archival-rpc.mainnet.near.org). When set, getTransaction is refined with exact amounts, fee and NEP-141 events.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: wallet-near/src/history.ts:38
Per request, ms. Default 15 000.