Skip to content
docs

NearHistoryOptions

Defined in: wallet-near/src/history.ts:26

Options for createNearHistory.

optional apiKey?: string

Defined in: wallet-near/src/history.ts:30

nearblocks Bearer key. Keyless use is limited to a few requests per minute.


optional fetch?: HistoryFetch

Defined in: wallet-near/src/history.ts:34


optional nearblocksUrl?: string

Defined in: wallet-near/src/history.ts:28

nearblocks root. Default https://api.nearblocks.io (https://api-testnet.nearblocks.io on testnet).


optional network?: "mainnet" | "testnet"

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


optional rateLimit?: number

Defined in: wallet-near/src/history.ts:36

nearblocks requests per second. Default 0.1 (6/min) without a key, 5 with one.


optional rpcUrl?: 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.


optional timeoutMs?: number

Defined in: wallet-near/src/history.ts:38

Per request, ms. Default 15 000.