Flow Coverage Matrix
This section covers which package supports which BTC, LBTC, and BTC.b flows, so you can confirm coverage before you build.
sdk-agentkit ships a curated subset focused on what AgentKit wallets can sign end-to-end today. sdk-agent covers the broader surface.
Coverage by flow
| Flow | sdk-agent tool | sdk-agentkit action |
|---|---|---|
| Read LBTC / BTC.b balance | get_lbtc_balance, get_btcb_balance, get_balance | get_lbtc_balance, get_btcb_balance |
| Read any ERC-20 balance | get_token_balance | - |
| Resolve a Lombard asset by symbol/address | get_token_info | - |
| LBTC/BTC exchange rate | get_exchange_rate | get_lbtc_exchange_rate |
| LBTC base APY | get_lbtc_apy | - |
| Native BTC → LBTC (deposit address) | check_fee_authorization → prepare_btc_to_lbtc_deposit | - (use SDK directly) |
| Native BTC → BTC.b (deposit address) | check_fee_authorization → prepare_btc_to_btcb_deposit | - (use SDK directly) |
| Track BTC deposit status (LBTC + BTC.b) | get_deposit_status | get_deposit_status |
| Claim notarized deposit → LBTC | prepare_claim_lbtc_deposit | claim_lbtc_deposit |
| BTC.b → LBTC (stake) | prepare_btcb_to_lbtc_stake | stake_btcb_to_lbtc |
| LBTC → BTC.b (same-chain redeem) | prepare_lbtc_to_btcb | redeem_lbtc_to_btcb |
| LBTC → native BTC (cross-chain unstake) | prepare_lbtc_to_btc | unstake_lbtc_to_btc |
| BTC.b → native BTC (redeem) | prepare_redeem_btcb | - (use SDK directly) |
| Track unstake / redeem progress | get_redemption_status | get_redemption_status |
| Discover yield strategies | get_earn_strategies, get_lbtc_defi_opportunities | - |
| Deploy LBTC → Bitcoin Earn | prepare_earn_deposit | deploy_to_earn |
| Bitcoin Earn positions | get_earn_positions | - |
| Bitcoin Earn withdrawal history | get_earn_withdrawals (open, fulfilled, cancelled, expired) | - |
| Request / cancel Earn withdrawal | prepare_earn_withdrawal, prepare_cancel_earn_withdrawal | - |
| Lux reward points (current season) | get_lux_points | - |
| Aggregated portfolio summary | get_positions_summary | - |
| Morpho Blue (markets, supply, borrow, repay, position) | get_morpho_lbtc_markets, prepare_morpho_supply_collateral, prepare_morpho_borrow, prepare_morpho_repay, get_morpho_position | - |
Two common BTC.b mistakes to flag in your agent’s system prompt
Deposit tool mismatch (LBTC vs BTC.b)
Native BTC → BTC.b uses a different tool than native BTC → LBTC.
prepare_btc_to_lbtc_deposit always mints LBTC. For BTC.b you must call prepare_btc_to_btcb_deposit.
Both deposits track through the same get_deposit_status, so once the address is generated the polling flow is identical.
LBTC redemption split into two tools
LBTC redemption is split into two distinct tools.
prepare_lbtc_to_btc does the cross-chain LBTC → native BTC unstake (requires a Bitcoin recipient).
prepare_lbtc_to_btcb does the same-chain LBTC → BTC.b redemption (no recipient needed).
For BTC.b → native BTC, use prepare_redeem_btcb; neither of the above operates on BTC.b.