Skip to content

NEARTransactionHistoryParams

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEARTransactionHistoryParams

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19287

Parameters for retrieving transaction history

rpcUrl: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19289

NEAR RPC URL


viewingPrivateKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19291

Viewing private key for scanning (hex)


spendingPrivateKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19293

Spending private key for address verification (hex)


optional network?: "testnet" | "mainnet"

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19295

Network type


optional fromBlock?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19297

Start block height (optional)


optional toBlock?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19299

End block height (optional)


optional fromTimestamp?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19301

Start timestamp filter (milliseconds)


optional toTimestamp?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19303

End timestamp filter (milliseconds)


optional limit?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19305

Maximum transactions to return


optional cursor?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19307

Pagination cursor


optional typeFilter?: NEARTransactionType[]

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19309

Filter by transaction types


optional tokenFilter?: (string | null)[]

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19311

Filter by token contracts (null = native NEAR)


optional searchQuery?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19313

Search by transaction hash or address


optional timeout?: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19315

Request timeout in milliseconds