Skip to content

Covalent

Content disclaimer

Please view the third-party content disclaimer here.

Quickstart

Check out this introductory video to get started.

Supported endpoints

All Class A endpoints are supported for the Matic mainnet and the Mumbai testnet. You can query either network via the unified API by changing the chainId.

Endpoints

A full list of all the requests you are able to do on the Polygon network using Covalent are available on the Covalent API documentation.

Appendix

Matic gas token

To interact with the Matic network, MATIC tokens are required to pay as gas fees. Covalent’s responses automatically returns gas_* fields in the MATIC units.

Token mapping

Covalent maintains an on-chain real-time mapping of token addresses between the Ethereum mainnet and the Matic chain. These addresses are used to reverse-lookup prices on Matic and also to return the right token logo URLs.

Some example of mapped tokens:

Token Ethereum mainnet Matic mainnet
USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 0xc2132d05d31c914a87c6611c10748aeb04b58e8f
Uniswap UNI 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984 0xb33eaad8d922b1083446dc23f610c2567fb5180f

Token prices

For tokens that have a mapping back to Ethereum mainnet, Covalent is able to return the mapped prices.


Last update: December 22, 2023
Authors: kmurphypolygon (92.11%), Nadim Kobeissi (7.89%)