FarmDash.one · Schema
PrepareOrderResponse
DeFiDeFAIAI AgentsMCPOpenAPIx402BlockchainCryptocurrencyairdrop trackingDeveloper ToolsAgent ReadinessMachine PaymentsHyperliquidWallet Intelligencezero custody
Properties
| Name | Type | Description |
|---|---|---|
| ok | boolean | |
| state | string | |
| executionMode | string | Preparation is not execution authority. Bounded submission additionally requires an owner grant and authenticated session and remains subject to the canonical rollout gate. |
| preparation | object | |
| typedData | object | |
| executeRequest | object | |
| next_action | object | |
| zeroCustody | boolean | |
| privateKeyRequiredByFarmDash | boolean | |
| timestamp | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-prepare-order-response-schema.json",
"title": "PrepareOrderResponse",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/farmdash-openapi.yml#/components/schemas/PrepareOrderResponse",
"type": "object",
"required": [
"ok",
"state",
"executionMode",
"preparation",
"typedData",
"executeRequest",
"next_action",
"zeroCustody",
"privateKeyRequiredByFarmDash",
"timestamp"
],
"properties": {
"ok": {
"type": "boolean",
"enum": [
true
]
},
"state": {
"type": "string",
"enum": [
"READY_FOR_LOCAL_SIGNATURE"
]
},
"executionMode": {
"type": "string",
"enum": [
"USER_SIGNED",
"BOUNDED_AUTONOMOUS"
],
"default": "USER_SIGNED",
"description": "Preparation is not execution authority. Bounded submission additionally requires an owner grant and authenticated session and remains subject to the canonical rollout gate."
},
"preparation": {
"type": "object",
"required": [
"agentAddress",
"coin",
"isBuy",
"size",
"price",
"orderType",
"accountAddress",
"reduceOnly",
"leverage",
"assetIndex",
"signedAction",
"nonce",
"expiresAt",
"intentHash",
"vaultAddress",
"builder"
],
"properties": {
"agentAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"accountAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"coin": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,16}$"
},
"isBuy": {
"type": "boolean"
},
"size": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
},
"price": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
},
"orderType": {
"type": "string",
"enum": [
"limit_gtc",
"limit_ioc",
"limit_alo",
"market_ioc",
"stop_loss",
"take_profit"
]
},
"reduceOnly": {
"type": "boolean",
"default": false
},
"leverage": {
"oneOf": [
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 5
},
{
"type": "string"
}
]
},
"nonce": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"expiresAt": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"intentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"signedAction": {
"type": "object",
"description": "Exact Hyperliquid action including FarmDash builder terms; sign this action without modification."
},
"assetIndex": {
"type": "integer",
"minimum": 0
},
"vaultAddress": {
"type": [
"string",
"null"
],
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"builder": {
"type": "object",
"required": [
"b",
"f",
"basisPoints",
"approvedMaximumVenueUnitsTenthsBps"
],
"properties": {
"b": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"f": {
"type": "integer",
"enum": [
1
]
},
"basisPoints": {
"type": "number",
"enum": [
0.1
]
},
"approvedMaximumVenueUnitsTenthsBps": {
"type": "integer",
"minimum": 1
}
}
}
}
},
"typedData": {
"type": "object",
"required": [
"domain",
"types",
"primaryType",
"message"
],
"properties": {
"domain": {
"type": "object",
"required": [
"name",
"version",
"chainId",
"verifyingContract"
],
"properties": {
"name": {
"type": "string",
"enum": [
"Exchange"
]
},
"version": {
"type": "string",
"enum": [
"1"
]
},
"chainId": {
"type": "integer",
"enum": [
1337
]
},
"verifyingContract": {
"type": "string",
"enum": [
"0x0000000000000000000000000000000000000000"
]
}
}
},
"types": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"type"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
}
}
}
},
"primaryType": {
"type": "string",
"enum": [
"Agent"
]
},
"message": {
"type": "object",
"required": [
"source",
"connectionId"
],
"properties": {
"source": {
"type": "string",
"enum": [
"a",
"b"
]
},
"connectionId": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{64}$"
}
}
}
}
},
"executeRequest": {
"$ref": "#/$defs/PrepareOrderExecuteRequest"
},
"next_action": {
"type": "object",
"required": [
"local",
"then"
],
"properties": {
"local": {
"type": "string"
},
"then": {
"type": "string"
}
}
},
"zeroCustody": {
"type": "boolean",
"enum": [
true
]
},
"privateKeyRequiredByFarmDash": {
"type": "boolean",
"enum": [
false
]
},
"timestamp": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$defs": {
"PrepareOrderExecuteRequest": {
"type": "object",
"additionalProperties": false,
"required": [
"agentAddress",
"coin",
"isBuy",
"size",
"price",
"orderType",
"accountAddress",
"reduceOnly",
"leverage",
"nonce",
"expiresAt",
"intentHash",
"signedAction",
"executionMode"
],
"properties": {
"agentAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"accountAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"coin": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,16}$"
},
"isBuy": {
"type": "boolean"
},
"size": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
},
"price": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
},
"orderType": {
"type": "string",
"enum": [
"limit_gtc",
"limit_ioc",
"limit_alo",
"market_ioc",
"stop_loss",
"take_profit"
]
},
"reduceOnly": {
"type": "boolean",
"default": false
},
"leverage": {
"oneOf": [
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 5
},
{
"type": "string"
}
]
},
"nonce": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"expiresAt": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"executionMode": {
"type": "string",
"enum": [
"USER_SIGNED",
"BOUNDED_AUTONOMOUS"
],
"default": "USER_SIGNED",
"description": "Preparation is not execution authority. Bounded submission additionally requires an owner grant and authenticated session and remains subject to the canonical rollout gate."
},
"intentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"signedAction": {
"type": "object",
"description": "Exact Hyperliquid action including FarmDash builder terms; sign this action without modification."
}
}
}
}
}
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-prepare-order-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.