Quote token conversion
Quote a conversion between two different tokens
Request
- Base URLhttps://api.brla.digital:5567/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key and API key in header X-API-Signature and API key in header X-API-Timestamp
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Operation to quote for
Amount in cents (e.g. 10 would represent 0.1 tokens)
Not all coins might be available for every operation
The coin the user is sending. Not all coins might be available for every operation
Not all coins might be available for every operation
The coin the user is receiving. Not all coins might be available for every operation
Not all chains might be available for every operation
The chain the operation is happening
If the user wants to add an extra % fee to the operation to be delivered to another wallet. Represents a percentage with at most 4 decimal places (e.g. 0.001 is 0.1%)
Set to true if the amount field specifies an amount of outputCoin instead of inputCoin
Response
Quoting success
Changes
No recorded changes to this operation across all 1 revision of this API.