Skip to content

sgns::utxo_address

Functions

Name
bool IsEscrowLockAddress(std::string_view address)
Checks if the address is a valid escrow lock address (0x-prefixed 64 hex chars).
bool IsAccountPublicKeyAddress(std::string_view address)
Checks if the address is a public key.

Functions Documentation

function IsEscrowLockAddress

bool IsEscrowLockAddress(
    std::string_view address
)

Checks if the address is a valid escrow lock address (0x-prefixed 64 hex chars).

Parameters:

  • address The address to check

Return: true if the address is a valid escrow lock address, false otherwise

function IsAccountPublicKeyAddress

bool IsAccountPublicKeyAddress(
    std::string_view address
)

Checks if the address is a public key.

Parameters:

  • address The address to check

Return: true if the address is a public key address, false otherwise


Updated on 2026-06-05 at 17:22:18 -0700