Skip to main content

CoinselectAddressTypes

type CoinselectAddressTypes = "p2sh-p2wpkh" | "p2wpkh" | "p2wsh" | "p2tr" | "p2pkh";

Defined in: atomiq-sdk/src/bitcoin/coinselect2/utils.ts:34

Defines a type of the address used by the wallet, for proper coinselection (as coinselection depends on estimating the cost for spending the input + the cost of adding a change output)