Skip to content

NEARTransactionData

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEARTransactionData

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18948

Transaction data that can be encrypted for viewing

sender: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18952

Sender’s account ID


recipient: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18956

Recipient’s stealth address (implicit account)


amount: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18960

Amount in yoctoNEAR (string for bigint serialization)


tokenContract: string | null

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18964

Token contract address (null for native NEAR)


decimals: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18968

Token decimals (24 for NEAR, 6 for USDC, etc.)


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18972

Transaction timestamp


optional memo?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18976

Optional memo