In a nutshell
Blockradar’s Liquidity Pool allows approved Liquidity Providers (LPs) to define and manage exchange rates for asset pairs. Rates power the internal swap engine — when a user initiates a swap, the system automatically selects the best available rate from active LPs, validates liquidity, and executes the transaction.
Blockradar’s Liquidity Pool allows approved Liquidity Providers (LPs) to define and manage exchange rates for asset pairs. Rates power the internal swap engine — when a user initiates a swap, the system automatically selects the best available rate from active LPs, validates liquidity, and executes the transaction.

Prerequisites
Before using the Liquidity Pool API, ensure you have:Become a Liquidity Provider
The Liquidity Pool is available to approved Liquidity Providers only. To get started, email the Blockradar team at [email protected] expressing your interest in becoming an LP and we will onboard you.
API Key
Once onboarded, generate an API key from the Blockradar Dashboard. Navigate to Developers to create one.
How It Works
As a Liquidity Provider, you define exchange rates for asset pairs (e.g., BNB → USDC). When a user on the Blockradar platform initiates a swap, the system:- Finds matching rates from all active LPs for the requested asset pair.
- Ranks candidates by best rate, LP priority, and creation time.
- Validates liquidity by checking the selected LP’s treasury wallet has enough balance to fulfill the swap.
- Executes the swap using the selected LP’s rate and treasury.
Rate Management
Create, update, deactivate, and reactivate exchange rates for any supported asset pair.
Amount Bands
Define minimum and maximum transaction amounts per rate to control exposure and segment pricing tiers.
Version History
Every rate change creates a new version. Full history is preserved for auditing and analytics.
Automatic Selection
The system automatically selects the best LP for each swap based on rate, priority, and available liquidity.
Rate Lifecycle
Rates follow a clear lifecycle with full version tracking:1. Create a Rate
Define a new exchange rate for an asset pair. The rate starts as active at version 1.Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fromAsset | string | Yes | The symbol of the asset to convert from (e.g., BNB) |
toAsset | string | Yes | The symbol of the asset to convert to (e.g., USDC) |
rate | string | Yes | The exchange rate. Provided as a string to avoid floating point precision issues |
minAmount | string | Yes | Minimum transaction amount for this rate (inclusive) |
maxAmount | string | No | Maximum transaction amount (exclusive). Omit for unlimited |
Create Response
2. Update a Rate
Modify the rate or amount constraints for an existing active rate. This creates a new version — the previous version is automatically marked assuperseded.
Only provide the fields you want to change — partial updates are supported.
3. Deactivate a Rate
Temporarily take a rate offline. The rate becomes deactivated and will no longer be selected for swaps.4. Reactivate a Rate
Bring a deactivated rate back online. This creates a new version withactive status.
Rate Versioning
Every time a rate is updated or reactivated, a new version is created. The previous version is marked assuperseded. This provides a complete audit trail.
| Field | Description |
|---|---|
version | Sequential version number starting at 1 |
rootRateId | Points to the original rate — all versions in a chain share this ID |
previousRateId | Points to the immediately preceding version |
Version Chain Example
View Rate History
Retrieve the full version history for a rate:History Response
Rate Statuses
| Status | Description |
|---|---|
active | Currently live and eligible for swap selection |
superseded | Replaced by a newer version (via update or reactivate) |
deactivated | Manually taken offline — can be reactivated |
Amount Bands
Each rate covers a transaction amount range defined byminAmount and maxAmount:
minAmount— The inclusive lower bound. Transactions below this amount will not use this rate.maxAmount— The exclusive upper bound. Set tonull(omit) for unlimited.
Multiple Rates for the Same Pair
You can create multiple rates for the same asset pair with different amount bands to offer tiered pricing:| Rate | Band | Use Case |
|---|---|---|
| 605.00 | 0.01 – 10 BNB | Small transactions |
| 606.50 | 10 – 100 BNB | Medium transactions |
| 608.00 | 100+ BNB | Large transactions |
Liquidity Validation
Before executing a swap using your rate, the system validates that your treasury wallet has:- Sufficient token balance of the destination asset to cover the swap output (
amount x rate). - Sufficient native token balance (ETH, BNB, etc.) to cover network fees for the transfer.
Best Practices
Rate Management
- Monitor market conditions and update rates regularly to stay competitive
- Use amount bands to offer tiered pricing for different transaction sizes
- Deactivate rates during maintenance or high volatility instead of deleting them
- Review version history to track rate changes over time
Liquidity
- Maintain sufficient balance in your treasury wallets for both the destination asset and native tokens
- Set up monitoring for low balance alerts
- Fund wallets proactively to avoid gaps in service
Security
- Restrict API access to authorized team members with the
MARKET_MAKER,ADMIN, orOWNERrole - Test on testnet before deploying rates to mainnet
API Reference
| Endpoint | Description |
|---|---|
| Create Rate | Create a new exchange rate for an asset pair |
| Get Rate | Retrieve a single rate by ID |
| Update Rate | Update an existing rate (creates a new version) |
| Deactivate Rate | Take a rate offline |
| Reactivate Rate | Bring a deactivated rate back online |
| Get Rate History | View full version history for a rate |
Support
- Email: [email protected]
- Become an LP: Contact us at [email protected] to express your interest in becoming a Liquidity Provider
The Liquidity Pool is designed for institutional and professional liquidity providers. Start by contacting the Blockradar team to get onboarded, then test your rate configurations on testnet before going live.

