NEARDetectedPayment
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARDetectedPayment
Interface: NEARDetectedPayment
Section titled “Interface: NEARDetectedPayment”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18312
A detected NEAR payment
Properties
Section titled “Properties”stealthAddress
Section titled “stealthAddress”stealthAddress:
StealthAddress
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18314
Stealth address that received the payment
stealthAccountId
Section titled “stealthAccountId”stealthAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18316
NEAR implicit account ID
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18318
Amount received (in yoctoNEAR or token smallest units)
txHash
Section titled “txHash”txHash:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18320
Transaction hash
blockHeight
Section titled “blockHeight”blockHeight:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18322
Block height
tokenContract?
Section titled “tokenContract?”
optionaltokenContract?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18324
Token contract (undefined for native NEAR)
timestamp?
Section titled “timestamp?”
optionaltimestamp?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18326
Timestamp of the transaction