FarmDash.one · Schema
SwapSimulationResponse
DeFiDeFAIAI AgentsMCPOpenAPIx402BlockchainCryptocurrencyairdrop trackingDeveloper ToolsAgent ReadinessMachine PaymentsHyperliquidWallet Intelligencezero custody
Properties
| Name | Type | Description |
|---|---|---|
| ok | boolean | |
| simulation_id | string | |
| intent_id | string | |
| success | boolean | |
| gas_used | number | |
| gas_cost_usd | number | |
| output_amount | string | |
| price_impact_pct | numbernull | |
| mev_risk | string | |
| revert_reason | stringnull | |
| valid_until | string | |
| wallet_address | string | |
| selected_protocol | object | |
| tx_fingerprint | string | |
| request_fingerprint | string | |
| provider | string | |
| cached | boolean | |
| required_for_execution | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-swap-simulation-response-schema.json",
"title": "SwapSimulationResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/farmdash-risk-api-openapi.yml#/components/schemas/SwapSimulationResponse",
"type": "object",
"required": [
"ok",
"simulation_id",
"intent_id",
"success",
"gas_used",
"gas_cost_usd",
"output_amount",
"mev_risk",
"valid_until",
"wallet_address",
"selected_protocol",
"required_for_execution"
],
"properties": {
"ok": {
"type": "boolean"
},
"simulation_id": {
"type": "string"
},
"intent_id": {
"type": "string"
},
"success": {
"type": "boolean"
},
"gas_used": {
"type": "number"
},
"gas_cost_usd": {
"type": "number"
},
"output_amount": {
"type": "string"
},
"price_impact_pct": {
"type": [
"number",
"null"
]
},
"mev_risk": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"revert_reason": {
"type": [
"string",
"null"
]
},
"valid_until": {
"type": "string",
"format": "date-time"
},
"wallet_address": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"selected_protocol": {
"$ref": "#/$defs/SupportedProtocol"
},
"tx_fingerprint": {
"type": "string"
},
"request_fingerprint": {
"type": "string"
},
"provider": {
"type": "string"
},
"cached": {
"type": "boolean"
},
"required_for_execution": {
"type": "boolean",
"const": true
}
},
"$defs": {
"SupportedProtocol": {
"type": "string",
"enum": [
"lifi",
"relay"
],
"description": "Swap quote provider. Automatic routing compares all healthy compatible providers (LI.FI, Relay; 0x paused until reinstated); force one with ?protocol= (deterministic, never silent fallback)."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/farmdash-swap-simulation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.