execute_perp_order
Submit a pre-signed EIP-712 Hyperliquid perpetual futures order only after approval, policy, session, and API-wallet signature checks; supports IOC/limit/stop orders and reports fill outcomes.
Instructions
[Capability: available_with_tier_gate; tier: scout_capacity_signature_gated; API: /api/v1/agent/futures/execute-order; authority: /api/v1/agent/status] 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; rollout remains preparation_only. 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.
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 |