General

General information data

Active exchanger markets

Fetch supported & active exchangers with markets

Rest API

const exchangerMarkets = await egRest.fetchExchangerMarkets();

/* Expected `exchangerMarkets`:
{
    binance: {
        'btc-usdt': {
            market: string,
            isActive: boolean,
            isTradable: boolean
        },
        ...
    },
    bitfinex: { ... },
    ...
}*/

Socket RPC

const exchangerMarkets = await egRealtime.rpc.fetchExchangerMarkets();

/* Expected `exchangerMarkets`:
{
    binance: {
        'btc-usdt': {
            market: string,
            isActive: boolean,
            isTradable: boolean
        },
        ...
    },
    bitfinex: { ... },
    ...
}*/