NEARAnnouncement
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARAnnouncement
Interface: NEARAnnouncement
Section titled “Interface: 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.
Properties
Section titled “Properties”version?
Section titled “version?”
optionalversion?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18178
Announcement scheme version: ‘1’ = legacy swapped, ‘2’ = canonical EIP-5564
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18180
Ephemeral public key (ed25519, 0x-prefixed hex)
viewTag
Section titled “viewTag”viewTag:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18182
View tag for efficient filtering (0-255)
stealthAddress
Section titled “stealthAddress”stealthAddress:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18184
Stealth address (ed25519 public key, 0x-prefixed hex)
stealthAccountId
Section titled “stealthAccountId”stealthAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18186
NEAR implicit account ID derived from stealth address
txHash?
Section titled “txHash?”
optionaltxHash?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18188
Transaction hash where the announcement was made
blockHeight?
Section titled “blockHeight?”
optionalblockHeight?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18190
Block height of the announcement