For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Supported Currencies

Before doing an instant swap transaction, you'll need to know the available crypto cryptocurrencies for swaps. Make a GET request to this endpoint

https://api.localramp.co/v1/transaction/swap/currencies

With the following header

x-auth-token: <PUBLIC_KEY>

If the API call is successful, LocalRamp returns the following response:

{
    "status": "success",
    "data": {
        "coins": [
            {
                "coin": "BTC",
                "max_decimal": 8
            },
            {
                "coin": "LTC",
                "max_decimal": 8
            },
            {
                "coin": "ETH",
                "max_decimal": 8
            },
            {
                "coin": "XRP",
                "max_decimal": 6
            }
        ]
    }
}

Last updated