exchange.IO("address")
Returns the address of the wallet configured on the exchange object. When a private key is passed, it returns the wallet address of that key.
exchange.IO(k)
exchange.IO(k, key)Examples
Print the wallet address of the private key configured on the exchange object.
javascript
function main() {
Log(exchange.IO("address"))
// Output: the wallet address, starting with 0x
}Returns
| Type | Description |
string | Returns the wallet address: a lowercase address starting with |
Arguments
| Name | Type | Required | Description |
k | string | Yes | Function of |
key | string | No | Private key (hex string, |
See Also