HomeDocumentationAPI Reference
Log In
API Reference

Build Register Session Key Tx

Method Name

public/build_register_session_key_tx

Build a signable transaction params dictionary.

Parameters

expiry_sec  integer required
Expiry of the session key

gas  integer required
Gas allowance for transaction. If none, will use estimateGas * 150%

nonce  integer required
Wallet's transaction count, If none, will use eth.getTransactionCount()

public_session_key  string required
Session key in the form of an Ethereum EOA

wallet  string required
Ethereum wallet address of account

Response

id  string or integer required

result  object required

result. tx_params  object required
Transaction params in dictionary form, same as TxParams in web3.py

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}