/walletsolidity/getblockbynum REST API Endpoint
Body Parameters
num
integer
REQUIRED
Loading...
Returns
blockID
Loading...
raw_data
Loading...
number
Loading...
txTrieRoot
Loading...
witness_address
Loading...
parentHash
Loading...
accountStateRoot
Loading...
witness_id
Loading...
version
Loading...
timestamp
Loading...
witness_signature
Loading...
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getblockbynum \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"num": 2007}8'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getblockbynum \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"num": 2007}8'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free