addressFor
addressFor(
publicKey,network?,type?):string
Defined in: wallet-btc/src/account.ts:18
Address for a compressed public key; network may be a name or btc-signer params.
Parameters
Section titled “Parameters”publicKey
Section titled “publicKey”Uint8Array
network?
Section titled “network?”BtcNetwork | BTC_NETWORK
BtcAddressType = 'p2wpkh'
Returns
Section titled “Returns”string