curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettransactioninfobyblocknum \
--header 'Content-Type: application/json' \
--data '{
"num": 66677878,
"visible": true
}'
[
{
"id": "<string>",
"fee": 123,
"blockNumber": 123,
"blockTimeStamp": 123,
"contractResult": [
"<string>"
],
"receipt": {},
"log": [
{}
]
}
]
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettransactioninfobyblocknum \
--header 'Content-Type: application/json' \
--data '{
"num": 66677878,
"visible": true
}'
[
{
"id": "<string>",
"fee": 123,
"blockNumber": 123,
"blockTimeStamp": 123,
"contractResult": [
"<string>"
],
"receipt": {},
"log": [
{}
]
}
]
num
— the block number to retrieve transaction information fromvisible
— optional boolean parameter. When set to true
, addresses are in base58 format. Default is false
.id
— transaction hashfee
— transaction fee in sunblockNumber
— block number containing the transactionblockTimeStamp
— block timestampcontractResult
— contract execution resultreceipt
— transaction receipt with energy usage and resultlog
— event logs from smart contract executionwallet/gettransactioninfobyblocknum
method is used for:
Transaction information for all transactions in the block
The response is of type object[]
.