NEARTransactionData
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NEARTransactionData
Interface: NEARTransactionData
Section titled “Interface: NEARTransactionData”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18612
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-DXh2IGkz.d.ts:18616
Sender’s account ID
recipient
Section titled “recipient”recipient:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18620
Recipient’s stealth address (implicit account)
amount
Section titled “amount”amount:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18624
Amount in yoctoNEAR (string for bigint serialization)
tokenContract
Section titled “tokenContract”tokenContract:
string|null
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18628
Token contract address (null for native NEAR)
decimals
Section titled “decimals”decimals:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18632
Token decimals (24 for NEAR, 6 for USDC, etc.)
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18636
Transaction timestamp
optionalmemo:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18640
Optional memo