get-log-events-by-contract-address
GET /v1/{chainName}/events/address/{contractAddress}/
Returns all the event logs emitted from a particular contract address. Useful for building dashboards that examine on-chain interactions.
Request
- Base URLhttps://api.covalenthq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chainNamestring required
The chain name eg: eth-mainnet.
contractAddressstring required
The requested contract address. Passing in an ENS, RNS, Lens Handle, or an Unstoppable Domain resolves automatically.
Query parameters
starting-blockinteger
The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest and latest.
ending-blockstring
The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest and latest.
page-sizeinteger
Number of items per page. Omitting this parameter defaults to 100.
page-numberinteger
0-indexed page number to begin pagination.
Response
Successful response
Changes
No recorded changes to this operation across all 3 revisions of this API.