send
Build an unsigned transfer transaction (native or ERC-20).
Tier: Free
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
toAddress | string | Yes | Recipient wallet address (0x…) |
token | string | Yes | Token to send — symbol (e.g. “ETH”, “USDC”) or contract address |
amount | string | Yes | Amount in human-readable units (e.g. “1.5” for 1.5 ETH) |
chainId | number | No | Chain ID (default: 1) |
The sender’s wallet address is resolved automatically from the Y0_API_KEY session — no need to pass it explicitly.
Example
"Send 0.5 ETH to 0x1234... on Ethereum"Signing Flow
- MCP server calls signing service
/api/build/send - Signing service builds unsigned transfer (native or ERC-20
transfer()) - Unsigned tx queued for approval
- User reviews recipient, amount, and signs
Notes
- Native transfers: simple
valuetx - ERC-20 transfers: encoded
transfer(to, amount)calldata via viem