What it is
On the same host and with the same key as the node methods, Node API answers the history and events paths of the common TRON/v1 format. A client written for that format works after you change the
host and the key.
- Only
GET; other HTTP methods get405 method_not_allowed. {address}is base58 (T…) or hex (41…,0x41…).- The key goes in the
TRON-PRO-API-KEYheader or in the path, as for every method:https://node.tronrental.com/<YOUR_KEY>/v1/accounts/{address}/transactions. - Other
/v1/...paths — for example/v1/accounts/{address}or/v1/contracts/{address}/events— are not served and get404 not_found. GET /healthcheckanswers200 {"ok": true}without a key: TronWeb’sisConnected()calls it.
How far back
History newer than each date is served as usual; the last page above the date still carries a
fingerprint, and the call that would read below it gets a 400 saying what to pass:
- With
only_from=truean address’s outgoing side is read to the start of the network. - Contract calls before 2026-10-08 that may have moved TRX or tokens on (internal transactions) are refused rather than shown without them. Calls of the USDT contract are always answered: it calls no other contract.
Parameters
History — the three…/transactions paths:
search_internal is accepted and has no effect. A contract’s …/transactions has one side — what was
sent to it — so only_to and only_from do not apply there.
Events: limit (1–200, default 20), fingerprint, only_confirmed or only_unconfirmed.
Pagination
A page with more after it carriesmeta.fingerprint and meta.links.next — the same URL with the new
fingerprint (and your key, if you put it in the path). The last page has neither.
One history call reads a bounded part of the index. A page can therefore come back shorter than
limit, or even empty, and still carry next. Keep following next until it is gone; an empty page
with next is not the end.
Answers
TRC-20 transfers
- Only
Transferevents;Approvalis not in this history. valueis a string in the token’s smallest units; divide by10^decimals.block_timestampandmeta.atare in milliseconds. Addresses are base58.
Transactions
Each item is the transaction as the node stores it —txID, raw_data, raw_data_hex,
signature, ret — plus fields from its receipt: blockNumber, block_timestamp (ms),
net_usage, net_fee, energy_usage, energy_fee, energy_usage_total, internal_transactions,
and the fee in ret[0].fee. Addresses inside raw_data are hex, as the node gives them.
- Failed transactions (
REVERT,OUT_OF_ENERGY) are included. - In
/v1/contracts/{address}/transactions,blockNumberandblock_timestampare strings andret[0]has nofee, as clients of this format expect. - An internal transaction:
internal_tx_id,from_address,to_address, anddatawithnote,rejectedandcall_value(TRX under_, a TRC-10 token under its id; present only when a value moved).
Events
- Newest first: the last transaction of the block, and within it the last log.
_unconfirmed: truemarks an event above the solidified head.- An unknown transaction, a block without events, or a block not produced yet:
200with an emptydata. - Logs are decoded with the contract’s ABI from the chain. For a contract without one, common events
(
Transfer,Approval,Swap,Syncand others) are decoded by their standard signature; a log that cannot be named comes withevent_name: ""and an emptyresult.
fullHost and the key: its event methods call these paths on the same host.
Cost and limits
The
X-Node-API-WU header tells the cost of each call. A 400 for bad parameters costs at most 1 WU.
See Quota units.
Errors
Every other refusal — the key, the plan, the limits — is the same as for the node methods: see
Limits and errors.