Method Name
public/register_session_key
public/register_session_keyRegister or update expiry of an existing session key.
Currently, this only supports creating admin level session keys.
Keys with fewer permissions are registered via /register_scoped_session_key
Expiries updated on admin session keys may not happen immediately due to waiting for the onchain transaction to settle.
Parameters
expiry_sec
integer required |
label
string required |
public_session_key
string required |
signed_raw_tx
string required |
wallet
string required |
Response
id string or integer required |
result object required |
result.
label
string required |
result.
public_session_key
string required |
result.
transaction_id
string required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}