Skip to content

ed25519PublicKeyToNearAddress()

SIP Protocol API Reference v0.14.0


SIP Protocol API Reference / ed25519PublicKeyToNearAddress

ed25519PublicKeyToNearAddress(publicKey): string

Defined in: @sip-protocol/sdk/dist/index-ClFG32eh.d.ts:4173

Convert ed25519 public key to NEAR implicit account address

NEAR implicit accounts are lowercase hex-encoded ed25519 public keys (64 characters). No prefix, just raw 32 bytes as lowercase hex.

`0x${string}`

string