Get transaction logs by transaction hash
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
The erigon_getLogsByHash method returns all logs generated by a specific transaction.
This Erigon-specific method provides detailed log information for a transaction including:
- Contract addresses that emitted logs
- Log topics and data
- Block information
- Transaction position and log index
This method is useful for analyzing smart contract events and debugging transactions.
Body
The erigon_getLogsByHash method returns all logs generated by a specific transaction.
This Erigon-specific method provides detailed log information for a transaction including:
- Contract addresses that emitted logs
- Log topics and data
- Block information
- Transaction position and log index
This method is useful for analyzing smart contract events and debugging transactions.
Request payload for Get transaction logs by transaction hash.
jsonrpcstring2.0requiredJSON-RPC version identifier
methodstringerigon_getLogsByHashrequiredThe method to be invoked
idinteger | stringrequiredRequest identifier for matching responses
paramsArray<string>requiredArray containing transaction hash
Response
Successful transaction logs response
Invalid request parameters
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Transaction not found or no logs
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal server error