Skip to content

NEARDetectedPayment

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / NEARDetectedPayment

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

A detected NEAR payment

stealthAddress: StealthAddress

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

Stealth address that received the payment


stealthAccountId: string

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

NEAR implicit account ID


amount: bigint

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

Amount received (in yoctoNEAR or token smallest units)


txHash: string

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

Transaction hash


blockHeight: number

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

Block height


optional tokenContract: string

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

Token contract (undefined for native NEAR)


optional timestamp: number

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

Timestamp of the transaction