API Reference

Session Keys

Method Name

private/session_keys

Required minimum session key permission level is read_only

Parameters

wallet string required
Ethereum wallet address of account

Response

id string or integer required
result object required
result.public_session_keys array of objects required
List of session keys (includes unactivated and expired keys)
result.public_session_keys[].expiry_sec integer required
Session key expiry timestamp in sec
result.public_session_keys[].label string required
User-defined session key label
result.public_session_keys[].public_session_key string required
Public session key address (Ethereum EOA)
result.public_session_keys[].scope string required
Session key permission level scope
result.public_session_keys[].ip_whitelist array of strings required
List of whitelisted IPs, if empty then any IP is allowed.

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}