Function poxAddressToBtcAddress

  • Converts a PoX address to a Bitcoin address.

    Parameters

    • version: number

      The version of the PoX address (as a single number, not a Uint8array).

    • hash: string | Uint8Array

      The hash bytes of the PoX address.

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

      The network the PoX address is on.

    Returns string

    The corresponding Bitcoin address.

  • Converts a PoX address to a Bitcoin address.

    Parameters

    • poxAddrClarityValue: ClarityValue

      The clarity tuple of the PoX address (version and hashbytes).

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

      The network the PoX address is on.

    Returns string

    The corresponding Bitcoin address.

Generated using TypeDoc