Queries
Query the Blockchain
Usage: ioctl bc info
➜ ioctl bc info
Blockchain Node: api.iotex.one:443
{
"height": 11283255,
"numActions": 14393325,
"tps": 1,
"epoch": {
"num": 18194,
"height": 11282761
},
"tpsFloat": 0.29090908
}Query Block
Usage: ioctl bc block [HEIGHT|HASH]
➜ ioctl bc block
Blockchain Node: api.iotex.one:443
{
"hash": "b73d48301aa75ab2f6c6e3350abb4b050852eebd89a333f9b2f412c9011f37ba",
"height": 11283260,
"timestamp": {
"seconds": 1621955365
},
"numActions": 1,
"producerAddress": "io1ddjluttkzljqfgdtcz9eu3r3s832umy7ylx0ts",
"transferAmount": "0",
"txRoot": "d401ba17a772340f6aa0284357fa65758c9063c755c25721cab86e3b674e096b",
"receiptRoot": "8205af86ab185619edf8cb2279774bf5c3b322fb1ad7855719f8f29ac50734a4",
"deltaStateDigest": "835b130e5fe7333da7287b4a61011bf575cfef2386c58e2eedf8c100007aeed0",
"logsBloom": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"previousBlockHash": "ec1d8f515ffc90cc2c549b6d9ae0ff07d6d9681137f4fe40d78e9d8f10228d8d"
}Query Staking Bucket Information
Usage: ioctl bc bucketlist [ALIAS|ADDRESS]
Query Buckets By Candidate
Usage: ioctl bc bucketlist cand [CANDIDATE_NAME] [OFFSET] [LIMIT]
Query Buckets By Voter
Usage: ioctl bc bucketlist voter [VOTER_ADDRESS] [OFFSET] [LIMIT]
Query Bucket By Index
Usage: ioctl bc bucket [BUCKET_INDEX]
Query Delegates
Usage: ioctl node delegate [ -a | -e epoch-num]
Get the list of block producers:
Get the list of block producers in a specific epoch
Get the full list of delegates:
Query Probation List
Usage: ioctl node probationlist [-e epoch-num]
Query Reward
Usage: ioctl node reward unclaimed|pool [ALIAS|DELEGATE_ADDRESS]

