Skip to content

isValidSolanaAddress()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / isValidSolanaAddress

isValidSolanaAddress(address): boolean

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

Validate a Solana address format

Checks that the address:

  • Is a valid base58 string
  • Decodes to exactly 32 bytes (ed25519 public key size)

string

boolean