Skip to main content

GetBlockInfoByNum gRPC Method

Retrieves transaction information for a specific block by its block number from the TRON network.",

Updated on
Jul 07, 2026

Parameters

num
integer
REQUIRED

The block number

Returns

transactionInfo
array

List of transaction information objects

id
string

The transaction ID in bytes

fee
integer

The fee paid for the transaction

blockNumber
integer

The block number containing this transaction

blockTimeStamp
integer

The timestamp of the block containing this transaction

contractResult
array

The execution result of the contract

contract_address
string

The address of the contract

receipt
object

The resource receipt details for this transaction

energy_usage
integer

The amount of energy used

energy_fee
integer

The fee paid for energy

origin_energy_usage
integer

The original amount of energy used

energy_usage_total
integer

The total energy usage

net_usage
integer

The bandwidth used

net_fee
integer

The fee paid for bandwidth

result
string

The contract execution result (enum: Transaction_ResultContractResult)

energy_penalty_total
integer

The total energy penalty

log
array

The logs generated during transaction execution

address
string

The address that generated the log

topics
array

The topics of the log

data
string

The data contained in the log

result
string

The result code of the transaction (enum: TransactionInfoCode)

resMessage
string

The result message

assetIssueID
string

The ID of the asset issued

withdraw_amount
integer

The amount withdrawn (if applicable)

unfreeze_amount
integer

The amount unfrozen (if applicable)

internal_transactions
array

Internal transactions triggered by this transaction

hash
string

The hash of the internal transaction

caller_address
string

The address of the caller

transferTo_address
string

The address of the recipient

callValueInfo
array

Information about the call value

note
string

Additional notes about the internal transaction

rejected
boolean

Whether the internal transaction was rejected

extra
string

Extra information about the internal transaction

exchange_id
integer

The exchange ID (if applicable)

orderId
string

The order ID (if applicable)

orderDetails
array

Details of market orders

makerOrderId
string

The ID of the maker order

takerOrderId
string

The ID of the taker order

fillSellQuantity
integer

The quantity filled on the sell side

fillBuyQuantity
integer

The quantity filled on the buy side

packingFee
integer

The fee for packing the transaction

withdraw_expire_amount
integer

The expired withdrawal amount

cancelUnfreezeV2Amount
object

Mapping of canceled unfreeze V2 amounts

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free