Skip to content

encodeNEARStealthMetaAddress()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / encodeNEARStealthMetaAddress

encodeNEARStealthMetaAddress(metaAddress): string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18247

Encode a NEAR stealth meta-address to string format

Format: sip:near::

StealthMetaAddress

The stealth meta-address object

string

Encoded string format

const encoded = encodeNEARStealthMetaAddress(metaAddress)
// => 'sip:near:0x1234...5678:0xabcd...ef01'