Withdraw Fiat V2
Get Exchange Rates
get/v2/wallets/{id}/withdraw/fiat/rates
Request
- Base URLhttps://api.blockradar.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Wallet identifier.
Query parameters
assetIdstring uuid required
Stablecoin asset identifier returned by the supported-assets endpoint.
currencystring required
ISO 4217 fiat currency code.
amountstring required
Decimal amount encoded as a string to preserve precision.
providerstring
Optional provider slug. Omit it to let Blockradar select an eligible provider.
Response
Successful response.
Example response
{
"statusCode": 200,
"message": "Exchange rate fetched successfully",
"data": {
"rate": "1550.00",
"amount": "100.00",
"unlocked": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.