Quotes are valid for a limited time. Execute the transfer promptly after
receiving a quote to lock in the rate.
Offramp Quote (Crypto → Fiat)
Get a quote for converting cryptocurrency to fiat currency and withdrawing to a bank account.Method Signature
Parameters
string
required
The unique customer identifier (UUID format)
string
Amount of crypto to send. Specify either
source_amount or
destination_amount.string
Amount of fiat to receive. Specify either
source_amount or
destination_amount.'usdc' | 'usdt' | 'eurc'
required
Cryptocurrency token to convert
string
required
Blockchain network:
polygon, ethereum, solana, base, arbitrum,
tron'usd' | 'eur' | 'aed'
required
Fiat currency to receive
'ach' | 'wire' | 'sepa' | 'swift' | 'uaefts'
required
Payment method for fiat withdrawal
string
Optional developer fee as a percentage (e.g.,
"0.5" for 0.5%)Example
- TypeScript
- JavaScript
Onramp Quote (Fiat → Crypto)
Get a quote for converting fiat currency to cryptocurrency.Method Signature
Parameters
string
required
The unique customer identifier (UUID format)
string
Amount of fiat to send. Specify either
source_amount or
destination_amount.string
Amount of crypto to receive. Specify either
source_amount or
destination_amount.'usd' | 'eur' | 'aed'
required
Fiat currency to convert
'ach' | 'wire' | 'sepa' | 'uaefts'
required
Payment method for fiat deposit
'usdc' | 'usdt' | 'eurc'
required
Cryptocurrency token to receive
string
required
Blockchain network:
polygon, ethereum, solana, base, arbitrum,
tronstring
Optional developer fee as a percentage
Example
Quote Response
Both methods return aQuoteResponse object:
Usage Patterns
Calculate by Source Amount
When you know how much the user wants to send:Calculate by Destination Amount
When you know how much the user wants to receive:Error Handling
Related Methods
Create Transfer
Execute the quoted transfer
Get Transfer
Track transfer status