Skip to content

parseAnnouncement()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / parseAnnouncement

parseAnnouncement(memo): SolanaAnnouncement | null

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

Parse announcement from memo string Format: SIP::<ephemeral_pubkey_base58>:<view_tag_hex>[:<stealth_address_base58>]

Accepts SIP:1 (legacy swapped scheme) and SIP:2 (canonical EIP-5564); the detected version is returned so the claim path can route to the matching derivation.

M4 FIX: Validates view tag is exactly 1-2 hex characters (1 byte)

string

SolanaAnnouncement | null