Function getAddressFromPublicKey

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

    Parameters

    • publicKey: string | Uint8Array

      Public key bytes or hex string

    • transactionVersion: TransactionVersion = TransactionVersion.Mainnet

    Returns string

Generated using TypeDoc