execute_perp_order
USER_SIGNED requires fresh human approval. BOUNDED_AUTONOMOUS requires a valid owner-signed futures policy, authenticated session, and a local API-wallet signature on every action (operational with zero custody). Compatibility: submit a pre-signed EIP-712 Hyperliquid order after a 60-second parameter-bound research gate. market_ioc is a signed, price-protected IOC limit order with a live 100 bps adverse-price cap, never an unbounded market order; its outcome distinguishes full, partial, and zero fill, and an IOC resting response is unknown/inconsistent. For delegated API wallets, set accountAddress to the venue-verified equity owner used during analysis. FarmDash recovers the exact L1 signer, rejects an agentAddress mismatch, and preflights the owner maxBuilderFee. The signed action must disclose builder f=1 (0.1 bp/0.001% of filled notional), and expiresAt is venue-signed as expiresAfter. Venue nonce authority is network + signer + nonce across account/vault contexts; durable replay control fails closed before submission.
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": {
"agentAddress": "<agentAddress>",
"coin": "<coin>",
"isBuy": "<isBuy>",
"size": "<size>",
"price": "<price>",
"orderType": "<orderType>",
"signature": "<signature>",
"nonce": "<nonce>",
"expiresAt": "<expiresAt>",
"intentHash": "<intentHash>"
},
"name": "execute_perp_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| size | Yes | ||
| isBuy | Yes | ||
| nonce | Yes | ||
| price | Yes | ||
| grantId | No | ||
| leverage | No | ||
| expiresAt | Yes | ||
| orderType | Yes | ||
| sessionId | No | ||
| signature | Yes | ||
| intentHash | Yes | ||
| reduceOnly | No | ||
| agentAddress | Yes | ||
| sessionToken | No | ||
| signedAction | No | If supplied, must include the signed FarmDash builder term { b: treasury, f: 1 }; f is tenths of a basis point. | |
| executionMode | No | USER_SIGNED | |
| accountAddress | No | ||
| executionTrialId | No |