Actions27
- Contract Event Actions
- Contract Method Actions
- Prompt Actions
- Transaction Actions
- Wallet Actions
- X402 Request Actions
- Chain Actions
Contract Event → List
AI-generatedOverview
This node operation lists contract events from the 1Shot API based on specified filters such as event name, contract address, chain ID, and pagination parameters. It is useful for retrieving blockchain contract event data for monitoring, analysis, or integration into workflows.
Use Case Examples
- Retrieve a list of contract events filtered by a specific contract address and event name on a particular blockchain.
- Paginate through contract events by specifying page number and page size to handle large datasets efficiently.
Properties
| Name | Meaning |
|---|---|
| Name | Filter contract events by name. |
| Contract Address | Filter contract events by contract address. |
| Event Name | Filter contract events by event name. |
| Chain Name or ID | Choose the blockchain chain by name or ID to filter contract events. |
| Page Number | Specify the page number of results to retrieve, starting at 1. |
| Page Size | Specify the number of contract events to retrieve per page. |
Output
JSON
json- Each item contains a JSON object representing a contract event returned from the 1Shot API list operation.
Dependencies
- 1Shot API with OAuth2 authentication
Troubleshooting
- Ensure the OAuth2 API credentials are correctly configured and authorized to access the 1Shot API.
- Verify that the chain ID or name used for filtering is valid and supported by the 1Shot API.
- Check pagination parameters to avoid requesting pages beyond the available data, which may result in empty responses.
- Handle API rate limits or errors gracefully, possibly by spacing out requests or using batching options if supported.