NEARTransactionHistoryParams
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARTransactionHistoryParams
Interface: NEARTransactionHistoryParams
Section titled “Interface: NEARTransactionHistoryParams”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19287
Parameters for retrieving transaction history
Properties
Section titled “Properties”rpcUrl
Section titled “rpcUrl”rpcUrl:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19289
NEAR RPC URL
viewingPrivateKey
Section titled “viewingPrivateKey”viewingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19291
Viewing private key for scanning (hex)
spendingPrivateKey
Section titled “spendingPrivateKey”spendingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19293
Spending private key for address verification (hex)
network?
Section titled “network?”
optionalnetwork?:"testnet"|"mainnet"
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19295
Network type
fromBlock?
Section titled “fromBlock?”
optionalfromBlock?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19297
Start block height (optional)
toBlock?
Section titled “toBlock?”
optionaltoBlock?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19299
End block height (optional)
fromTimestamp?
Section titled “fromTimestamp?”
optionalfromTimestamp?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19301
Start timestamp filter (milliseconds)
toTimestamp?
Section titled “toTimestamp?”
optionaltoTimestamp?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19303
End timestamp filter (milliseconds)
limit?
Section titled “limit?”
optionallimit?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19305
Maximum transactions to return
cursor?
Section titled “cursor?”
optionalcursor?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19307
Pagination cursor
typeFilter?
Section titled “typeFilter?”
optionaltypeFilter?:NEARTransactionType[]
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19309
Filter by transaction types
tokenFilter?
Section titled “tokenFilter?”
optionaltokenFilter?: (string|null)[]
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19311
Filter by token contracts (null = native NEAR)
searchQuery?
Section titled “searchQuery?”
optionalsearchQuery?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19313
Search by transaction hash or address
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19315
Request timeout in milliseconds