/walletsolidity/getblock REST API Endpoint
Body Parameters
id_or_num
integer
REQUIRED
Loading...
detail
boolean
Loading...
Returns
blockID
Loading...
block_header
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/getblock \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"id_or_num": "1000000",7"detail": false8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getblock \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"id_or_num": "1000000",7"detail": false8}9'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free