Skip to content

NEARHistoricalTransaction

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / NEARHistoricalTransaction

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18906

A historical transaction with privacy metadata

hash: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18908

Unique transaction hash


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18910

Transaction timestamp (milliseconds since epoch)


blockHeight: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18912

Block height


type: NEARTransactionType

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18914

Transaction type


stealthAddress: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18916

Stealth address (implicit account ID)


stealthPublicKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18918

Stealth public key (hex)


ephemeralPublicKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18920

Ephemeral public key from sender (hex)


viewTag: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18922

View tag for efficient scanning


amount: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18924

Amount in smallest units (yoctoNEAR or token units)


amountFormatted: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18926

Human-readable amount (with decimals applied)


token: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18928

Token symbol or ‘NEAR’


tokenContract: string | null

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18930

Token contract address (null for native NEAR)


decimals: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18932

Token decimals


privacyLevel: NEARHistoryPrivacyLevel

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18934

Privacy level used


amountRevealed: boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18936

Whether the amount was revealed via viewing key


optional sender: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18938

Sender account (if known)


optional receiver: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18940

Receiver account (if known)


optional fee: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18942

Transaction fee in yoctoNEAR


explorerUrl: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18944

Block explorer URL


optional recipientLabel: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18946

Label for this recipient (if multiple viewing keys)