addressFromScript
addressFromScript(
script,network):string|undefined
Defined in: wallet-btc/src/address.ts:24
Address for an output script, or undefined when the script has no address form.
Parameters
Section titled “Parameters”script
Section titled “script”Uint8Array
network
Section titled “network”BTC_NETWORK
Returns
Section titled “Returns”string | undefined