Ramp
List supported countries
Changed onReturns all enabled countries with currency details. Optionally filter by fiat currency code, minimum crypto (USDC) amount, and ramp type. When type=off-ramp, only countries with direct S2S off-ramp support are returned.
get/ramp/countries
Request
- Base URLhttps://api.chainrails.io/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
currencystring
Example:EUR
amountnumber
Example:10
type'on-ramp' | 'off-ramp'
Response
List of supported countries with currency info
Changes
- info
added the new optional
queryrequest parametertype
- info
- info
endpoint added
- info