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 downloaded API key file, 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 downloaded API key.