Skip to content

NEARDetectedPayment

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / NEARDetectedPayment

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18276

A detected NEAR payment

stealthAddress: StealthAddress

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18278

Stealth address that received the payment


stealthAccountId: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18280

NEAR implicit account ID


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18282

Amount received (in yoctoNEAR or token smallest units)


txHash: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18284

Transaction hash


blockHeight: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18286

Block height


optional tokenContract?: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18288

Token contract (undefined for native NEAR)


optional timestamp?: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18290

Timestamp of the transaction