Skip to main content
POST
Authorise an agent

Path Parameters

chain
enum<string>
required
Available options:
arbitrum,
base,
polygon,
megaeth,
arbitrum-sepolia
Example:

"arbitrum"

Body

application/json

Agent, scope and master signature

trader
string
required
Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0x73b3A111C5BCCf9086c97B96e0AbAad69Dc4f523"

agent
string
required
Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0x73b3A111C5BCCf9086c97B96e0AbAad69Dc4f523"

scope
object
required
timestamp
integer
required
signature
string
required

EIP-712 AgentAuthorization signature by the trader's master wallet.

Pattern: ^0x[0-9a-fA-F]*$
Example:

"0xabc123"

name
string
Maximum string length: 32

Response

The agent and the transaction to send

agent
object
required
delegationTx
object | null
required