There are 3 primary developer tools for using the Security API:
1. Unified API - enterprise-grade endpoints to use with any programming language. Switch blockchains with one path parameter.
curl -X GET https://api.covalenthq.com/v1/eth-mainnet/nft/approvals/demo.eth/\? \
-H 'Content-Type: application/json' \
-u YOUR_API_KEY:
2. Client SDKs - official client libraries for TypeScript, Go and Python.
import { CovalentClient } from "@covalenthq/client-sdk";
(async () => {
const client = new CovalentClient("YOUR_API_KEY");
try {
const approvals = client.SecurityService.getNftApprovals("eth-mainnet", "demo.eth");
console.log(approvals.data);
} catch (error) {
console.log(error.message);
}
})();
3. GoldRush Kit - beautifully designed React components for your dApp frontend
See the following links to our API Docs and Guides:
- API Docs: comprehensive knowledge base for all things Covalent
- Guides: learn how to build for various use cases and expand your onchain knowledge