fund_xrpl_wallet_via_coinbase
Buy XRP on Coinbase and withdraw it to an XRPL address in one call.
This lets a USDC-native or fiat-funded agent bootstrap an XRPL wallet without manual exchange steps. Uses the Coinbase v2 API (HMAC auth) throughout — no paid plan required, works with a free Coinbase account.
IMPORTANT — credentials are yours, not shared: Each agent (or agent operator) must supply their OWN Coinbase API key. Never use someone else's key — it would charge their account, not yours. The AgentTrust MCP server itself holds no Coinbase credentials. Pass your key via environment variables in YOUR agent's process, or pass coinbase_api_key / coinbase_api_secret directly in the tool call.
One-time human setup (takes ~5 minutes):
Create a free account at coinbase.com and complete KYC (passport/ID)
Go to coinbase.com/settings/api → New API Key
Grant: wallet:accounts:read, wallet:buys:create, wallet:transactions:send
Set COINBASE_API_KEY and COINBASE_API_SECRET in your agent's environment
After setup, this tool is fully autonomous — no human needed per transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd_amount | No | USD to spend (default $3 — covers 1 XRP reserve + Coinbase fees + XRP price variance buffer) | |
| xrpl_address | Yes | Destination XRPL address (from create_agent_wallet) | |
| coinbase_api_key | No | Your Coinbase API key (falls back to COINBASE_API_KEY env var) | |
| coinbase_api_secret | No | Your Coinbase API secret (falls back to COINBASE_API_SECRET env var) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||