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_secintegerrequired
Expiry of the session key
gasintegerrequired
Gas allowance for transaction. If none, will use estimateGas * 150%
nonceintegerrequired
Wallet's transaction count, If none, will use eth.getTransactionCount()
public_session_keystringrequired
Session key in the form of an Ethereum EOA
walletstringrequired
Ethereum wallet address of account

Response

idstring or integerrequired
resultobjectrequired
result.tx_paramsobjectrequired
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}