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