Skip to content

Approve the agent

POST /api/hypercore/agent/approve

Returns the approveAgent EIP-712 payload for the user's main wallet to sign. Submit the signature via /api/hypercore/agent/submit.

Authentication

Send your API key in the api-key header.

Responses

Status Description
200 A CoreActionPlan to sign with signTypedData, plus context.
200 response
{
  "success": true,
  "data": {
    "agentAddress": "0x\u2026",
    "plan": {
      "action": {
        "type": "approveAgent"
      },
      "nonce": 1753900000000,
      "typedData": {},
      "scheme": "userSigned"
    }
  },
  "timestamp": "2026-07-31T00:00:00.000Z"
}