/walletsolidity/getblockbyid REST API Endpoint
Body Parameters
num
integer
REQUIRED
The block height
Returns
blockID
The block hash
block_header
The balance of the account
raw_data
The size of the energy window associated with a blockchain account
number
The block number
txTrieRoot
The root of transaction merkle tree
witness_address
The witness address
parentHash
The parent block hash
accountStateRoot
The root of account state tree
witness_id
The witness id
version
The version of the block
timestamp
The block timestamp
witness_signature
The signature of the witness, ensuring the integrity and authenticity of the block
transactions
The transaction object with the following fields:
ret
The result of the transaction
contractRet
The contract result of the transaction
signature
The signature associated with the contract
txID
The transaction id
raw_data
The raw transaction data, including the contract and its parameters
contract
The details of the smart contract involved in the transaction
parameter
The parameter of the smart contract function being called in the transaction
value
The value object containing following fields:
data
The data associated with the contract
owner_address
The address of the owner of the token being transferred
contract_address
The address of the contract
type_url
The type of data being represented by the parameter or output
type
The type of smart contract
ref_block_bytes
The bytes of the previous block hash
ref_block_hash
The hash of the previous block
expiration
The expiration time of the transaction
fee_limit
The maximum fee limit for the transaction
timestamp
The timestamp of the transaction
raw_data_hex
The raw transaction data, encoded in hexadecimal format
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getblockbyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": "00000000031b0059fc3c0dab48f6bdcd011ed45b4a1de3e8c419ae28ce1f9f61"7}8'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free