Function cashAddressToLockingBytecode

  • Convert a CashAddress to its respective locking bytecode.

    This method returns the locking bytecode and network prefix. If an error occurs, an error message is returned as a string.

    Parameters

    • address: string

      the CashAddress to convert

    Returns string | {
        bytecode: Uint8Array;
        options: {
            tokenSupport: boolean;
        };
        prefix: string;
    }

Generated using TypeDoc