The exchange.IO("address")
function is called in such a way as to get the address of the wallet configured by the {@var/EXCHANGE exchange} exchange object.
The exchange.IO("address")
function returns the configured wallet address.
string
exchange.IO(k)
The k
parameter is used to set the function of the exchange.IO()
function, set to "address"
means that the function is used to get the configured wallet address.
k
true
string
function main() {
Log(exchange.IO("address")) // Print the wallet address of the private key configured on the exchange object
}
exchange.IO("api", ...)
exchange.IO("base", ...)