nunchuk-wallet-transactions
Nunchuk Wallet Transactions
If auth or network setup is the blocker, use nunchuk-setup.
Default workflow
Progress:
- Create the transaction
- Sign the transaction
- Broadcast the transaction
If the user explicitly asks for only sign, only broadcast, or only inspect, do only that step.
Create
Create a transaction:
nunchuk tx create --wallet <wallet-id> --to <address> --amount <satoshis>
Sign
Sign with all matching stored keys:
nunchuk tx sign --wallet <wallet-id> --tx-id <tx-id>
Sign with a specific stored key:
nunchuk tx sign --wallet <wallet-id> --tx-id <tx-id> --fingerprint <xfp>
Merge an externally signed PSBT:
nunchuk tx sign --wallet <wallet-id> --tx-id <tx-id> --psbt <signed-psbt-base64>
Inspect
List transactions:
nunchuk tx list --wallet <wallet-id>
Get one transaction:
nunchuk tx get --wallet <wallet-id> --tx-id <tx-id>
Broadcast
Broadcast a fully signed transaction:
nunchuk tx broadcast --wallet <wallet-id> --tx-id <tx-id>
Common requests
User asks: send 100 USD to an address:
nunchuk tx create --wallet <wallet-id> --to <address> --amount 100 --currency USD
User asks: send 250 USD to an address, then sign and broadcast:
nunchuk tx create --wallet <wallet-id> --to <address> --amount 250 --currency USD
nunchuk tx sign --wallet <wallet-id> --tx-id <tx-id>
nunchuk tx broadcast --wallet <wallet-id> --tx-id <tx-id>
User asks: sign with a hardware wallet or external signer:
# Get the current pending PSBT.
nunchuk tx get --wallet <wallet-id> --tx-id <tx-id> --json
# Sign that PSBT externally, then merge it back.
nunchuk tx sign --wallet <wallet-id> --tx-id <tx-id> --psbt <signed-psbt-base64>
Defaults
tx createtreats--amountas satoshis by default.- Use
--currencyfor fiat or BTC amounts. tx createestimates the fee rate automatically.- If no key option is provided,
tx signauto-detects matching stored keys for the wallet and signs with all of them. - Use
tx get --jsonto retrieve the current pending PSBT before signing externally. - Use
--jsonwhen the user needs exact machine-readable output.
Gotchas
tx signskips keys that already signed the PSBT.tx sign --psbtcannot be used with--xprvor--fingerprint.tx broadcastrequires a fully signed transaction, status isREADY_TO_BROADCAST.
More from nunchuk-io/agent-skills
nunchuk-setup
Install Nunchuk CLI, authenticate, switch between mainnet and testnet, change Electrum server, and inspect saved config. Use when a command needs login, network, or Electrum setup, or when the user asks to check current auth or config.
11nunchuk-wallet-creation
Create Nunchuk Bitcoin wallets, add keys, and finalize them. Use when the user wants to create a wallet.
11nunchuk-wallet-management
Inspect and manage existing Nunchuk wallets, including balances, receive addresses, backup/export, recovery, rename, delete, and dummy-transaction approval. Use when the user wants to work with a wallet that has already been created.
11nunchuk-invitations
Send, review, accept, and deny Nunchuk wallet invitations during wallet setup. Use when the user wants to invite others, check whether they were invited, or respond to an invitation.
10nunchuk-platform-key
Enable, inspect, disable, and update Nunchuk Platform key policies for wallets. Use when the user asks about Platform key, spending limits, signing delay, auto-broadcast, or policy updates.
10nunchuk-coldcard-hsm
Use Coldcard with Nunchuk, add a Coldcard key, review or create HSM policies, create or authorize HSM users, validate or start HSM mode, and sign PSBTs with Coldcard. Use when the user wants to use Coldcard with Nunchuk, add a Coldcard key to a wallet, or asks about HSM mode.
3