Address and hex formats
Tron Portal hex strings are bare, without0x.
- Transaction filters and fields use 21-byte addresses beginning with
41, for example41a614f8.... - Log filters and
log.addressuse the lower 20 bytes, without41, for examplea614f8.... - Log topics are 32-byte ABI words. An indexed address occupies the final 20 bytes.
41... USDT address in a log filter returns no matches. Use the 20-byte form for addLogRequest().
Decode TRC-20 transfers
TRC-20 logs use the same ABI event layout as ERC-20 logs, but the hex strings are not0x-prefixed. Decode them explicitly:
evmEventDecoder() cannot be reused for these logs because EVM Portal data uses 0x-prefixed hex.
Transaction request families
Transaction request methods accept
logs: true and internalTransactions: true. Log and internal-transaction requests accept transaction: true. Join the returned collections with transactionIndex.
Value types
- Transaction amounts and resource fields such as
feeLimit,fee,energyUsageTotal, andnetFeearebigint. The wire values are signed decimal strings. - Block and transaction timestamps are Unix milliseconds represented as
number. parameter,ret, andcallValueInfoare raw JSON. Their shapes depend on the transaction type.