Type alias DecodedCashAddressFormat

DecodedCashAddressFormat: {
    payload: Uint8Array;
    prefix: string;
    version: number;
}

Type declaration

  • payload: Uint8Array

    The payload of the CashAddress-formatted string.

  • prefix: string

    The prefix before the colon (:) indicating the network or protocol to associate with the CashAddress-formatted string (for standard CashAddresses, a CashAddressNetworkPrefix). Note that the CashAddress Format checksum encodes the prefix in a case-insensitive way.

  • version: number

    A single byte indicating the version of this CashAddress-formatted string (for standard CashAddresses, a CashAddressVersionByte).

Generated using TypeDoc