资源加载中... loading...

exchange.IO("base", …)

The exchange.IO("base", ...) function is called in a way to set the RPC node address.

exchange.IO(k, address)

The k parameter is used to set the function of the exchange.IO() function, set to "base" means the function is used to switch RPC nodes. k true string The address parameter is used to set the RPC node address. address true string

function main() {
    var chainRpc = "https://bsc-dataseed.binance.org"
    e.IO("base", chainRpc)    // Switching to BSC chain
}
exchange.IO("address") TA