Python (SDK)
Global Markets Perps
Approve builder fee
Prepare builder fee approval for the global markets perps DEX.
This is a one-time action required before placing the first trade. Returns EIP-712 typed data for the user to sign. After signing, submit the signature via the /execute endpoint.
POST
Python (SDK)
Body
application/json
Request to approve builder fees before trading on the global markets perps DEX.
User's EOA address
Example:
"0x06A9aF046187895AcFc7258450B15397CAc67400"
Builder address that will receive the fee and the maximum fee rate the end-user is authorizing. The Compass customer supplies this.
Example:
{
"address": "0x88806A71D74AD0a510B350545C9AE490912F0888",
"max_fee_rate": "0.01%"
}
Response
Successful Response
Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.