One call: intent in, plan or signable payload out
The single entry point for an autonomous agent. Accepts plain language ("send 25 USDC to 0xabc... on arbitrum") or structured fields, resolves chains/token/amount, quotes the best rail, and returns exactly one of: status "sign" (with the precise payload to sign and where to POST it), "quoted" (something is still missing), "done" (sandbox), or a typed error. Replaces the chains -> quote -> execute -> poll sequence. Send header x-anygas-sandbox: 1 to dry-run the whole flow with no funds. Rate limit 60/min (300/min with a key).
Request
- Base URL: https://api.anygas.xyz/svc
- URL: https://api.anygas.xyz/svc/api/agent/do
- Auth: none declared
Headers
Anonymous quota raise: base64(JSON {preparedMsg, sig}) of a one-time Plus blind pass (RFC 9474). Exempts THIS request from the rate limit and, unlike x-anygas-key, is unlinkable to any identity or other request. Free passes: POST /api/plus/trial (20/day). Over the OHTTP relay put the pass in body.pass instead (headers do not cross the envelope).
Request body
Example request
{
"token": "USDC"
}Response
Plan, signing instruction, or sandbox result
Changes
No recorded changes to this operation across all 1 revision of this API.