The exchange.IO("key", ...)
function is called in a way to switch private keys.
exchange.IO(k, key)
The parameter k
is used to set the function of the exchange.IO()
function, set to "key"
means the function is used to switch the private key.
k
true
string
The key
parameter is used to set the private key.
key
true
string
function main() {
exchange.IO("key", "Private Key") // "Private Key" represents the private key string, which needs to be filled in specifically
}
The exchange.IO()
function supports switching private keys and it can manipulate multiple wallet addresses. It is also possible to add multiple exchange objects (see: {@var/EXCHANGE/exchanges exchanges}) for manipulating multiple wallet addresses.