Function getAddressFromPrivateKey

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

    Parameters

    • privateKey: string | Uint8Array

      Private key bytes or hex string

    • transactionVersion: TransactionVersion = TransactionVersion.Mainnet

    Returns string

Generated using TypeDoc