Get Smart Contract Events by Transaction ID
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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
jsonrpcstringrequiredThe JSON-RPC protocol version. Must be "2.0" per JSON-RPC 2.0 specification.
methodstringrequiredThe RPC method name. Must be "getsmartcodeevent" for this operation.
paramsArray<string>requiredArray with one parameter: transaction ID (hash) in hexadecimal format for which to fetch events.
idintegerrequiredUnique client-generated request ID to correlate responses with requests.
Response
200OK
Successful response with smart contract event data.