parseBtcAddress
parseBtcAddress(
params):BtcAddressInfo
Defined in: packages/ckbtc/src/utils/btc.utils.ts:195
Parse a Bitcoin address.
Parse implementation follows strategy implemented in Minter canister.
Credits: Parts of JavaScript code and test values from bitcoin-address-validation.
Parameters
Section titled “Parameters”params
Section titled “params”The Bitcoin address and network to parse