Skip to content

getTransactionByHash()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / getTransactionByHash

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

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:19069

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