What You’ll Learn
- How to retrieve smart contracts events
Prerequisites
Before you get started, please follow this guide to install CDP SDK.Smart Contract Events
List Smart Contract Events
To start, create a CDP API key. Then, initialize the CDP SDK by passing your API key file (if downloaded) or using environment variables, and retrieve smart contracts events.Typescript
Smart Contract ABI Management
Authentication
To get started, create a secret API key in the Portal’s API Key section if you don’t already have one. Suppose you store your secret API key at~/Downloads/cdp_api_key.json
Before making any SDK calls, import the necessary package and authenticate using your API key (either from a downloaded file or environment variables).