website logo
Join the CommunityContact Us
Navigate through spaces
Main
⌘K
Palm Network Developer Portal
The Palm Network
Submit an Article
Network Details
Validators
Get Started
Get PALM Tokens
Gas Fees
Connect to Palm network
Run a Transaction Node
How To Tutorials
MetaMask Wallet Setup
Deploy NFT Contracts
Verifying NFT Contracts
Mint NFTs with Hardhat
Bridge
Use the Bridge
Integrate With the Bridge
Bridge Component Addresses
Deprecated
Use Supported Tools
Block Explorer
Moralis
The Graph
Covalent API
Docs powered by archbee 
4min

Covalent API

Overview

Covalent provides an API that allows you to pull detailed, granular, and historical blockchain data such as:

  • Token balances associated with a given address.
  • History of transfers associated with a particular NFT.
  • Metadata associated with a given NFT contract.


Using the API

The Covalent API documentation for Palm provides information on available API endpoints and lets users make requests directly from the browser.

  1. Sign up for an API key to use the Covalent API.
  2. Pass the key as a query parameter with all requests using key=API_KEY.
  3. To run queries against the Palm network update the chain_id query parameter to point to the targeted Palm network environment.
  4. For example, to fetch all token balances (including NFTs) of a Palm address:
    1. Make requests to the balances_v2 endpoint with chain_id as 11297108109 for Palm Mainnet.
    2. Make requests to the balances_v2 endpoint with chain_id as 11297108099 for Palm Testnet.
Curl
|




Updated 01 Dec 2022
Did this page help you?
Yes
No
Docs powered by archbee 
TABLE OF CONTENTS
Overview
Using the API