Home

Return events for a contract and name at an exact block height

GET
https://trx.nownodes.io/events/contract/{contractAddress}/{eventName}/{blockNumber}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Return events for a contract and name at an exact block height. Upstream behavior is documented here; availability and routing through NOWNodes have not been verified.

Parameters

contractAddressstringrequiredpath

TRON contract address.

eventNamestringrequiredpath

Event name as declared in the ABI.

blockNumberinteger<int64>>= -1requiredpath

Exact block height; -1 disables this filter.

Response

200OK

Successful response. Example is synthetic, based on the upstream response model, and is not a live Mainnet result.

default

Unexpected upstream or gateway response; exact status codes and error schema depend on deployment.