cURL
curl --request POST \
--url https://api.example.com/dev/fee-claim-authorization \
--header 'x-dev-auth: <x-dev-auth>'import requests
url = "https://api.example.com/dev/fee-claim-authorization"
headers = {"x-dev-auth": "<x-dev-auth>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-dev-auth': '<x-dev-auth>'}};
fetch('https://api.example.com/dev/fee-claim-authorization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/dev/fee-claim-authorization",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-dev-auth: <x-dev-auth>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/dev/fee-claim-authorization"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-dev-auth", "<x-dev-auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/dev/fee-claim-authorization")
.header("x-dev-auth", "<x-dev-auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/dev/fee-claim-authorization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-dev-auth"] = '<x-dev-auth>'
response = http.request(request)
puts response.read_body{
"uuid": "<string>",
"signature": "<string>",
"expiresAt": 123,
"amount": "<string>",
"chain": "<string>",
"signerAddress": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Developer
Get Fee Claim Authorization
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>'import requests
url = "https://api.example.com/dev/fee-claim-authorization"
headers = {"x-dev-auth": "<x-dev-auth>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-dev-auth': '<x-dev-auth>'}};
fetch('https://api.example.com/dev/fee-claim-authorization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/dev/fee-claim-authorization",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-dev-auth: <x-dev-auth>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/dev/fee-claim-authorization"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-dev-auth", "<x-dev-auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/dev/fee-claim-authorization")
.header("x-dev-auth", "<x-dev-auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/dev/fee-claim-authorization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-dev-auth"] = '<x-dev-auth>'
response = http.request(request)
puts response.read_body{
"uuid": "<string>",
"signature": "<string>",
"expiresAt": 123,
"amount": "<string>",
"chain": "<string>",
"signerAddress": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Generate an authorization signature to claim accumulated dev account fees from the vault contract.
The signature must be an EIP-712 typed data signature with:
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 theX-Dev-Auth header.
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..."
}
- Domain:
{ name: "BisonDevAuth", version: "1" } - Primary Type:
DevAccountAuth - Message Fields:
devAccountId(string): Your dev account identifieraction(string): The action being performed (see endpoint docs)expiry(uint256): Unix timestamp when signature expires (max 5 minutes in future)
signerAddress.
The action field must be "fee-claim-authorization" for this endpoint.
Usage
After receiving the authorization, callwithdrawUSDC on the vault contract with the returned parameters to claim your fees.Headers
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
Unique authorization ID
EIP-712 signature for the authorization
Unix timestamp when authorization expires
Fee amount to claim in µUSDC
Chain to claim on
Address receiving the payout