send_batch
Combine 2 to 20 Solana instructions into one atomic transaction. Supports transfers, token operations, contract calls, and approvals.
Instructions
Send multiple instructions in a single atomic transaction (Solana only, 2-20 instructions).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instructions": "<instructions>"
},
"name": "send_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instructions | Yes | Array of instruction objects (each is a TRANSFER/TOKEN_TRANSFER/CONTRACT_CALL/APPROVE without the type field). All amount values must be in smallest units (wei/lamports). TOKEN_TRANSFER/APPROVE instructions can include an optional assetId field in the token object for CAIP-19 asset identification. | |
| network | No | Target network (e.g., polygon-mainnet). Required for EVM wallets; auto-resolved for Solana. | |
| wallet_id | No | Target wallet ID. Required for multi-wallet sessions; auto-resolved when session has a single wallet. | |
| gas_condition | No | Gas price condition for deferred execution. At least one of max_gas_price or max_priority_fee required. |