Function base58AddressToLockingBytecode
- base58AddressToLockingBytecode(address, sha256?): string | {
bytecode: Uint8Array;
version: number;
} Parameters
address: string
sha256: {
hash: ((input) => Uint8Array) & ((input) => Uint8Array);
} = internalSha256
hash: ((input) => Uint8Array) & ((input) => Uint8Array)
Returns string | {
bytecode: Uint8Array;
version: number;
}
Convert a Base58Address to its respective locking bytecode.
This method returns the locking bytecode and network version. If an error occurs, an error message is returned as a string.
For the reverse, see lockingBytecodeToBase58Address.