Overview
Bison offers two environments:| Environment | API URL | Chains |
|---|---|---|
| Mainnet | https://api.bison.markets | Base, BSC |
| Testnet | https://testnet-api.bison.markets | Base Sepolia, BSC Testnet |
Withdrawal Flow
Withdrawals use a two-step process:1
Schedule Withdrawal
Request a withdrawal by signing a message (no gas required). Your withdrawal enters the queue with status
pending.2
Wait for Processing
The system processes withdrawals on a schedule. Status transitions:
pending → fill-locked → unclaimed.3
Claim On-Chain
Once your withdrawal shows
unclaimed, call claimWithdraw() to receive USDC in your wallet (requires gas). If you have multiple unclaimed withdrawals, they’re claimed together in one transaction.Processing Times
| Environment | Time to Claimable |
|---|---|
| Testnet | ≤5 minutes (automatic) |
| Mainnet | 1-2 business days |
On testnet, withdrawals are processed automatically every 5 minutes. On mainnet, withdrawals are processed daily.
Code Example
The SDK code is identical for both environments—only the processing time differs:Environment Differences
| Feature | Mainnet | Testnet |
|---|---|---|
| USDC | Real USDC | MockUSDC (mintable) |
| Withdrawal processing | 1-2 business days | ≤5 minutes |
| Kalshi API | Mainnet Kalshi | Demo Kalshi |
| Chain IDs | Base (8453), BSC (56) | Base Sepolia (84532), BSC Testnet (97) |
Getting Testnet Tokens
To get started on testnet:- Get testnet ETH from a faucet:
- The MockUSDC contract allows anyone to mint tokens for testing