NEARDetectedPayment
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NEARDetectedPayment
Interface: NEARDetectedPayment
Section titled “Interface: NEARDetectedPayment”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17976
A detected NEAR payment
Properties
Section titled “Properties”stealthAddress
Section titled “stealthAddress”stealthAddress:
StealthAddress
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17978
Stealth address that received the payment
stealthAccountId
Section titled “stealthAccountId”stealthAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17980
NEAR implicit account ID
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17982
Amount received (in yoctoNEAR or token smallest units)
txHash
Section titled “txHash”txHash:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17984
Transaction hash
blockHeight
Section titled “blockHeight”blockHeight:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17986
Block height
tokenContract?
Section titled “tokenContract?”
optionaltokenContract:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17988
Token contract (undefined for native NEAR)
timestamp?
Section titled “timestamp?”
optionaltimestamp:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17990
Timestamp of the transaction