Home

Get Smart Contract Events by Transaction ID

POST
https://ont.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns all smart contract events (notifications) emitted during the execution of a confirmed transaction. Events include log data, topics, and contract addresses for each event triggered by the transaction.

Body

application/json
jsonrpcstringrequired

The JSON-RPC protocol version. Must be "2.0" per JSON-RPC 2.0 specification.

methodstringrequired

The RPC method name. Must be "getsmartcodeevent" for this operation.

paramsArray<string>required

Array with one parameter: transaction ID (hash) in hexadecimal format for which to fetch events.

idintegerrequired

Unique client-generated request ID to correlate responses with requests.

Response

200OK

Successful response with smart contract event data.