Function cashAddressToLockingBytecode
- cashAddressToLockingBytecode(address: string): string | {
bytecode: Uint8Array;
options: {
tokenSupport: boolean;
};
prefix: string;
}
-
Returns string | {
bytecode: Uint8Array;
options: {
tokenSupport: boolean;
};
prefix: string;
}
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.