curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/getnowblock \
--header 'Content-Type: application/json' \
--data '{}'
{
"blockID": "0000000004326f801c9c4b8c43c5e0b1f5e7b4c4a8ff6d02ab53a26d2344a5c1",
"block_header": {
"raw_data": {
"number": 70000000,
"txTrieRoot": "d41c56e7e8b4a9d4e7c8c7b4f3e6d5a2b1c9d8e7f6a5b4c3d2e1f0e9d8c7b6",
"parentHash": "0000000004326f7f2c9c4b8c43c5e0b1f5e7b4c4a8ff6d02ab53a26d2344a5c0",
"timestamp": 1704067200000,
"witness_address": "41e38c95e0d7e9b68f7c8f7b4d3e6a5c2b1f9e8d7c6b5a4f3e2d1c0b9a8"
},
"witness_signature": "<string>"
},
"transactions": [
{
"txID": "<string>",
"raw_data": {},
"signature": [
"<string>"
]
}
],
"blockSize": 1024
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/getnowblock \
--header 'Content-Type: application/json' \
--data '{}'
{
"blockID": "0000000004326f801c9c4b8c43c5e0b1f5e7b4c4a8ff6d02ab53a26d2344a5c1",
"block_header": {
"raw_data": {
"number": 70000000,
"txTrieRoot": "d41c56e7e8b4a9d4e7c8c7b4f3e6d5a2b1c9d8e7f6a5b4c3d2e1f0e9d8c7b6",
"parentHash": "0000000004326f7f2c9c4b8c43c5e0b1f5e7b4c4a8ff6d02ab53a26d2344a5c0",
"timestamp": 1704067200000,
"witness_address": "41e38c95e0d7e9b68f7c8f7b4d3e6a5c2b1f9e8d7c6b5a4f3e2d1c0b9a8"
},
"witness_signature": "<string>"
},
"transactions": [
{
"txID": "<string>",
"raw_data": {},
"signature": [
"<string>"
]
}
],
"blockSize": 1024
}
blockID
— the current block hashblock_header
— current block header informationtransactions
— array of transactions in the current blockblockSize
— size of the current block in bytestimestamp
— current block creation timestampnumber
— current block numberwitness_address
— address of the current block producerwalletsolidity/getnowblock
method is used for:
Current solidified block information
The response is of type object
.