计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
moonpay-swap-tokens【效率与协作】Swap tokens or bridge assets with MoonPay on Zo. Use when the user wants to swap one token for another, bridge between supported chains, or move crypto through a MoonPay wallet workflow.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Swap assets on the same chain or bridge them across supported chains using MoonPay on Zo.
mp token swap, mp token bridge, and balance checksBefore any write action:
mp user retrieve
mp wallet list
mp token balance list --wallet <address> --chain <chain>
mp token search --query "USDC" --chain solana
mp token quote \
--from-chain <from-chain> \
--from-token <from-token> \
--from-amount <from-amount> \
--to-chain <to-chain> \
--to-token <to-token>
Then require explicit confirmation before executing the swap or bridge.
mp token swap \
--wallet <wallet-name> \
--chain <chain> \
--from-token <token-address> \
--from-amount <amount> \
--to-token <token-address>
mp token bridge \
--from-wallet <wallet-name> \
--from-chain <chain> \
--from-token <token-address> \
--from-amount <amount> \
--to-chain <chain> \
--to-token <token-address> \
--to-wallet <wallet-name>
mp token swapmp token bridgemoonpay-authmoonpay-authmoonpay-check-walletmoonpay-buy-crypto