sf.tron.type.v1.Block
Block represents a Tron block from the RPC response
Block model
Block represents a Tron block from the RPC response
Descriptor contract
Block represents a Tron block from the RPC response
BlockHeader represents the block header from the RPC response
Block number (height)
Merkle root of all transactions in the block
Address of the block producer (witness)
Block timestamp in milliseconds since Unix epoch
Witness signature of the block
Transaction represents a flattened Tron transaction
Transaction hash in bytes
NOTE: only support size = 1, repeated list here for muti-sig extension source: https://buf.build/streamingfast/tron-protocol/file/main:core/Tron.proto#L448
Transaction expiration timestamp in milliseconds
Transaction creation timestamp in milliseconds
Contract execution result in bytes
Transaction execution status code (see ResponseCode enum)
Return message if any
Energy consumed by the transaction
Energy penalty for the transaction
Raw TransactionInfo from the Tron protocol containing execution details source: https://buf.build/streamingfast/tron-protocol/file/main:core/Tron.proto#L453
List of contracts executed in this transaction NOTE: only support size = 1, repeated list here for potential future extension source: https://buf.build/streamingfast/tron-protocol/file/main:core/Tron.proto#L337
Potential error values for a Transaction taken from Tron protocol definition source: https://github.com/tronprotocol/protocol/blob/2a678934da3992b1a67f975769bbb2d31989451f/api/api.proto#L1041
SUCCESS = 0
SIGERROR = 1
error in signature
CONTRACT_VALIDATE_ERROR = 2
CONTRACT_EXE_ERROR = 3
BANDWITH_ERROR = 4
DUP_TRANSACTION_ERROR = 5
TAPOS_ERROR = 6
TOO_BIG_TRANSACTION_ERROR = 7
TRANSACTION_EXPIRATION_ERROR = 8
SERVER_BUSY = 9
NO_CONNECTION = 10
NOT_ENOUGH_EFFECTIVE_CONNECTION = 11
BLOCK_UNSOLIDIFIED = 12
OTHER_ERROR = 20