Function getAddressFromPublicKey

  • Creates a P2PKH address string from the given public key and tx version.

    Parameters

    • publicKey: PublicKey

      Public key bytes or hex string

    • Optional network: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"

    Returns string

Generated using TypeDoc