Prepare a batch of signable trade intents (max 20 items)
kellian_prepare_trades_batchPrepare up to 20 signable trade intents for the same agent wallet. Sign each signPayload.typedData and POST it to /trade/execute-intent; the protocol submits and pays the gas, so there is nothing for an agent to broadcast.
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": {
"walletAddress": "<walletAddress>",
"items": "<items>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "kellian_prepare_trades_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| proofNonce | No | Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed. | |
| walletAddress | Yes | Wallet that will sign every prepared intent | |
| idempotencyKey | Yes | Required write-safety key; reuse it unchanged when retrying this batch | |
| walletSignature | No | Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp). | |
| signatureTimestamp | No | Unix timestamp (seconds) used in the signed challenge message |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |