Skip to content

getTransactionByHash()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / getTransactionByHash

getTransactionByHash(hash, params): Promise<NEARHistoricalTransaction | null>

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

Get transaction by hash

string

Transaction hash to look up

Omit<NEARTransactionHistoryParams, "searchQuery" | "limit">

History parameters (for authentication)

Promise<NEARHistoricalTransaction | null>

Transaction if found and owned, null otherwise