Skip to content

NEARAnnouncement

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / NEARAnnouncement

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18140

NEAR privacy announcement (included in transaction memo/logs)

Contains the information needed for recipients to scan for payments.

optional version?: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18142

Announcement scheme version: ‘1’ = legacy swapped, ‘2’ = canonical EIP-5564


ephemeralPublicKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18144

Ephemeral public key (ed25519, 0x-prefixed hex)


viewTag: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18146

View tag for efficient filtering (0-255)


stealthAddress: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18148

Stealth address (ed25519 public key, 0x-prefixed hex)


stealthAccountId: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18150

NEAR implicit account ID derived from stealth address


optional txHash?: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18152

Transaction hash where the announcement was made


optional blockHeight?: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18154

Block height of the announcement