Function getAddressFromPrivateKey

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

    Parameters

    • privateKey: PrivateKey

      Private key bytes or hex string

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

    Returns string

Generated using TypeDoc