NEARTransactionData
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARTransactionData
Interface: NEARTransactionData
Section titled “Interface: NEARTransactionData”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18948
Transaction data that can be encrypted for viewing
Properties
Section titled “Properties”sender
Section titled “sender”sender:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18952
Sender’s account ID
recipient
Section titled “recipient”recipient:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18956
Recipient’s stealth address (implicit account)
amount
Section titled “amount”amount:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18960
Amount in yoctoNEAR (string for bigint serialization)
tokenContract
Section titled “tokenContract”tokenContract:
string|null
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18964
Token contract address (null for native NEAR)
decimals
Section titled “decimals”decimals:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18968
Token decimals (24 for NEAR, 6 for USDC, etc.)
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18972
Transaction timestamp
optionalmemo?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18976
Optional memo