Blockchain interaction
Now that you have ioctl pointing to an IoTeX gateway and a wallet account configured in your system, let's try some basic interactions with the Blockchain:
Check the blockchain current epoch, height, and other network-related meta-information with the command ioctl bc info
:
Verify the balance of your account with the command ioctl account balance
:
Send 10 IOTX from your dev-acc account to the recipient address io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms with the command ioctl account transfer:
ioctl will then ask for the password of your dev-acc account, then it will broadcast the action to the blockchain by sending it to the gateway node, and finally provide the hash of the action for you to check the status.
Finally, check the status of a transaction by its hash with the command ioctl action hash
:
Last updated