Skip to content

NEARAnnouncement

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEARAnnouncement

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

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-GLbkPPho.d.ts:18178

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


ephemeralPublicKey: `0x${string}`

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

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


viewTag: number

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

View tag for efficient filtering (0-255)


stealthAddress: `0x${string}`

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

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


stealthAccountId: string

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

NEAR implicit account ID derived from stealth address


optional txHash?: string

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

Transaction hash where the announcement was made


optional blockHeight?: number

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

Block height of the announcement