Supported providers

Get supported blockchains

This endpoint returns a list of supported providers available for swaps in the Rubic API. Each provider object contains list of supported by provider blockchains and provider name used in the API. Contains separate information for cross-chain providers and on-chain providers


const response = await axios.get(
    'https://api-v2.rubic.exchange/api/info/providers?includeTestnets=false'
);

Response params

Field
Type
Description
Example

crossChain

{ name: string, chains: { ... } }[]

Contains list of supported cross-chain providers

[ name: 'xy', chains: [{ name: 'ETH', isProxyAvailable: true }, { name: 'POLYGON', isProxyAvailable: true }]

onChain

{ name: string, chains: { ... } }[]

Contains list of supported on-chain providers

[ name: 'xy', chains: [{ name: 'ETH', isProxyAvailable: true }, { name: 'POLYGON', isProxyAvailable: true }]

Last updated

Was this helpful?