Skip to main content
POST
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Body

application/json

Request to approve builder fees before trading on the perpetual trading DEX.

owner
string
default:0x06A9aF046187895AcFc7258450B15397CAc67400
required

User's EOA address

Example:

"0x06A9aF046187895AcFc7258450B15397CAc67400"

builder
Builder · object
required

Builder address that will receive the fee and the maximum fee rate the end-user is authorizing. The Compass customer supplies this.

Example:

Response

Successful Response

Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.

typed_data
Typed Data · object
required

EIP-712 typed data for wallet signing (domain, types, primaryType, message)

action
Action · object
required

Raw Hyperliquid action (passed back to the execute endpoint)

nonce
integer
required

Timestamp-based nonce used during signing