Skip to content

NEARDetectedPayment

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEARDetectedPayment

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

A detected NEAR payment

stealthAddress: StealthAddress

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

Stealth address that received the payment


stealthAccountId: string

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

NEAR implicit account ID


amount: bigint

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

Amount received (in yoctoNEAR or token smallest units)


txHash: string

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

Transaction hash


blockHeight: number

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

Block height


optional tokenContract?: string

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

Token contract (undefined for native NEAR)


optional timestamp?: number

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

Timestamp of the transaction