Request
{
"body": {
"depth": "plan",
"task": "Resolve the ENS name vitalik.eth and read its wallet balance on Base"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Response
{
"example": {
"confidence": 0.9,
"decisionId": "dec_\u2026",
"depth": "plan",
"estimatedCostUsd": 0.003,
"estimatedLatencyMs": 3000,
"executionCredit": {
"amountUsd": 0.01,
"redeemWith": "POST /api/decide/execute { decisionId, creditToken }",
"token": "dc_\u2026"
},
"feedbackToken": "fb_\u2026",
"gaps": [],
"plan": [
{
"dependsOn": [],
"fallbacks": [],
"purpose": "resolve the ENS name to an address",
"step": 1,
"tool": {
"endpoint": "https://agent402.tools/api/ens-resolve",
"exampleParams": {
"name": "vitalik.eth"
},
"firstParty": true,
"method": "GET",
"priceUsd": 0.001,
"slug": "ens-resolve"
}
},
{
"dependsOn": [
1
],
"fallbacks": [],
"purpose": "read that address's balance on Base",
"step": 2,
"tool": {
"endpoint": "https://agent402.tools/api/wallet-balance",
"exampleParams": {
"address": "{{step 1}}",
"network": "base"
},
"firstParty": true,
"method": "POST",
"priceUsd": 0.002,
"slug": "wallet-balance"
}
}
],
"priceUsd": 0.01,
"task": "Resolve the ENS name vitalik.eth and read its wallet balance on Base"
},
"type": "json"
}