NEARTransactionHistoryParams
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NEARTransactionHistoryParams
Interface: NEARTransactionHistoryParams
Section titled “Interface: NEARTransactionHistoryParams”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18951
Parameters for retrieving transaction history
Properties
Section titled “Properties”rpcUrl
Section titled “rpcUrl”rpcUrl:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18953
NEAR RPC URL
viewingPrivateKey
Section titled “viewingPrivateKey”viewingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18955
Viewing private key for scanning (hex)
spendingPrivateKey
Section titled “spendingPrivateKey”spendingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18957
Spending private key for address verification (hex)
network?
Section titled “network?”
optionalnetwork:"testnet"|"mainnet"
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18959
Network type
fromBlock?
Section titled “fromBlock?”
optionalfromBlock:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18961
Start block height (optional)
toBlock?
Section titled “toBlock?”
optionaltoBlock:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18963
End block height (optional)
fromTimestamp?
Section titled “fromTimestamp?”
optionalfromTimestamp:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18965
Start timestamp filter (milliseconds)
toTimestamp?
Section titled “toTimestamp?”
optionaltoTimestamp:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18967
End timestamp filter (milliseconds)
limit?
Section titled “limit?”
optionallimit:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18969
Maximum transactions to return
cursor?
Section titled “cursor?”
optionalcursor:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18971
Pagination cursor
typeFilter?
Section titled “typeFilter?”
optionaltypeFilter:NEARTransactionType[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18973
Filter by transaction types
tokenFilter?
Section titled “tokenFilter?”
optionaltokenFilter: (string|null)[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18975
Filter by token contracts (null = native NEAR)
searchQuery?
Section titled “searchQuery?”
optionalsearchQuery:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18977
Search by transaction hash or address
timeout?
Section titled “timeout?”
optionaltimeout:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18979
Request timeout in milliseconds