Overview
Developer accounts allow you to build applications on top of Bison and earn a portion of the trading fees generated by your users. Each dev account has its own fee structure and receives a share of the fees collected on trades.What is a Dev Account?
A dev account is an identifier that you can associate with orders placed through the Bison API. When an order with your dev account ID fills, you receive the majority of the fee from that trade.Fee Parameters
Fees are calculated based on the following parameters:- Fee Rate (bps): The percentage fee rate applied to trades. For example, 100 bps = 1% of the trade amount. This determines the percentage-based fee collected from users.
- Gross Base Fee (µUSDC): The minimum fee charged per trade, regardless of size. The gross fee is the maximum of this base fee and the percentage-based fee.
- Bison Cut (bps): The percentage of the gross fee that goes to Bison.
Bison’s fee cut is 33.33% (3,333 bps). The majority is passed on to you, the developer. If your application does significant trading volume,
please reach out to the Bison team directly to discuss a different fee structure.
Using a Dev Account
In the SDK
When creating a Bison client, pass your dev account ID to automatically apply it to all orders:executeBuyFlow, executeSellFlow, or placeOrder.
Client-Level Dev Account
SettingdevAccountId at the client level is the recommended approach:
Per-Order Dev Account Override
You can override the client-level dev account for specific orders:No Dev Account
If you don’t want to use a dev account, simply omit thedevAccountId parameter:
In the API
When placing an order via the API, include thedevAccountId field:
Getting a Dev Account
To set up a developer account and start earning from trading fees, please reach out to the Bison team at [email protected] We’ll work with you to:- Create your dev account with a custom fee structure
- Provide you with your unique dev account ID
- Help you integrate the account into your application
Fee Settlement
Fees progress through three states as trades are confirmed and settled:- Pending - Fees from trades not yet confirmed
- Locked - Fees being processed by the operator
- Unclaimed - Fees ready to claim from the vault contract