thetacli.Send - Theta Network
Example code for the thetacli.Send json-rpc method. Сomplete guide on how to use thetacli.Send json-rpc in GetBlock.io Web3 documentation.
Parameters
chain_id
- string
ID of the chain.
from
- string
The address of the account to send tokens from.
to
- string
The address of the receipient account.
thetawei
- string
The amount of Theta tokens to be sent (in TFuelWei, 1 TFuel = 10^18 TFuelWei).
tfuelwei
- string
The amount of TFuel tokens to be sent (in TFuelWei, 1 TFuel = 10^18 TFuelWei).
fee
- string
The transaction fee in TFuelWei.
sequence
- string
The expected sequence number of the from account.
async
- boolean
If async is set to false, the RPC call will wait until the transaction has been included in a block, or a timeout reached. Otherwise, the RPC call will return immediately with the transaction hash.
Request
Response
Last updated