ReadonlynetworkReadonlyonchainReadonlyproviderStaticMIN_Build and sign a CPFP fee child for a parent tx (given as raw hex) carrying a P2A anchor, funding it from this wallet's confirmed coins, and return the 1P1C package hexes WITHOUT broadcasting.
This is the graph-mode fee source (ExitFeeWallet): the exit executor calls it to bump each transported virtual tx at execution time, so funding can be deferred rather than pre-signed.
Finalized parent transaction, raw network hex
sat/vB floor for the package (raised to MIN_FEE_RATE)
Tuple of parent hex (unchanged) and signed child hex
CPFP-bump a parent transaction that contains a pay-to-anchor output.
Parent transaction containing a pay-to-anchor output
Tuple of parent transaction id and child transaction id
Fetch spendable onchain outputs for the wallet address.
Spendable onchain outputs for the wallet address
Send bitcoin to a single onchain address.
destination address, amount (in satoshis), and optional feeRate override (other fields ignored)
Broadcast transaction id
StaticcreateCreate an onchain wallet for the given identity and Bitcoin network.
Identity used to derive the Taproot key and sign transactions
Bitcoin network name,
Optionalprovider: OnchainProviderOptional onchain provider override,
Configured onchain wallet
Onchain Bitcoin wallet implementation for traditional Bitcoin transactions.
This wallet handles regular Bitcoin transactions on the blockchain without using the Arkade protocol. It supports P2TR (Pay-to-Taproot) addresses and provides basic Bitcoin wallet functionality.
Example