Function getAddressFromPrivateKey

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

    Parameters

    • privateKey: PrivateKey

      Private key bytes or hex string

    • network: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet" = 'mainnet'

    Returns string

Generated using TypeDoc