New Bridge API Endpoints: Chains & Fiat-to-Crypto
Firekeeper✨ New Features
Bridge API - Chain Discovery Endpoint
- Endpoint: GET /v1/bridge/chains
 - Description: Retrieves a list of blockchain networks supported for bridging.
 - Details:
- Returns chain ID, name, icon, and native currency details
 
 
Example Response:
Bridge API - Fiat-to-Crypto Conversion Endpoint
- Endpoint: GET /v1/bridge/convert
 - Description: Calculates the equivalent crypto token amount for a given fiat currency amount based on current market prices. This endpoint provides conversion rate estimates and does not execute any transactions.
 - Parameters:
from(required) - Source fiat currency (broad list supported)fromAmount(required) - Fiat amount (positive number)chainId(required) - Target blockchain chain IDto(required) - Ethereum address of the target token
 - Response: Returns JSON with converted crypto amount.
 - Performance:
- Smart caching (30s fresh, 5m stale)
 - Rate-limited, requires client authentication
 
 
Example Usage:
🔄 Changes
- Migration: Legacy endpoint 
pay.thirdweb.com/convert/fiatToCryptoreplaced by/v1/bridge/convert. 
Visit the full reference here.