Skip to main content
POST
/
dev
/
fee-claim-authorization
cURL
curl --request POST \
  --url https://api.example.com/dev/fee-claim-authorization \
  --header 'x-dev-auth: <x-dev-auth>'
{
  "uuid": "<string>",
  "signature": "<string>",
  "expiresAt": 123,
  "amount": 123,
  "chain": "<string>",
  "signerAddress": "<string>"
}
Generate an authorization signature to claim accumulated dev account fees from the vault contract.
This endpoint creates a claim lock that expires after 30 seconds. If you don’t use the signature in time, you’ll need to request a new one.

Authentication

This endpoint requires EIP-712 signature-based authentication via the X-Dev-Auth header.
X-Dev-Auth
string
required
JSON-encoded authentication payload containing the signed message.

X-Dev-Auth Format

{
  "devAccountId": "your-dev-account-id",
  "action": "<action>",
  "expiry": 1734567890,
  "signature": "0x..."
}
The signature must be an EIP-712 typed data signature with:
  • Domain: { name: "BisonDevAuth", version: "1" }
  • Primary Type: DevAccountAuth
  • Message Fields:
    • devAccountId (string): Your dev account identifier
    • action (string): The action being performed (see endpoint docs)
    • expiry (uint256): Unix timestamp when signature expires (max 5 minutes in future)
The signature must be signed by the wallet associated with your dev account’s signerAddress. The action field must be "fee-claim-authorization" for this endpoint.

Usage

After receiving the authorization, call withdrawUSDC on the vault contract with the returned parameters to claim your fees.

Headers

x-dev-auth
string
required

JSON-encoded auth payload: { devAccountId, action, expiry, signature }. Signature is EIP-712 typed data signed by the dev account signer.

Example:

"{\"devAccountId\":\"my-dev-account\",\"action\":\"info\",\"expiry\":1734567890,\"signature\":\"0x...\"}"

Response

Fee authorization generated successfully

uuid
string
required

Unique authorization ID

signature
string
required

EIP-712 signature for the authorization

expiresAt
number
required

Unix timestamp when authorization expires

amount
number
required

Fee amount to claim in µUSDC

chain
string
required

Chain to claim on

signerAddress
string
required

Address receiving the payout