Polygon
Below you can find the endpoints and the samples
Last updated
Was this helpful?
Below you can find the endpoints and the samples
Last updated
Was this helpful?
Polygon is a platform and framework, built to support and scale Ethereum-compatible blockchains by offering a suite of L2 scaling solutions like zk-rollups, plasma, sidechains and more.
For more information on Polygon APIs, see the .
Polygon Official Website :
Polygon Official Document :
Polygon Github :
If you don't have the API key, .
JSON RPC (Bor):
https://polygon-mainnet-rpc.allthatnode.com:8545/'YOUR-API-KEY'
REST API:
https://polygon-mainnet-rpc.allthatnode.com:1317 \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
Tendermint RPC:
https://polygon-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY'
JSON RPC (Bor):
https://polygon-testnet-rpc.allthatnode.com:8545/'YOUR-API-KEY'
REST API:
https://polygon-testnet-rpc.allthatnode.com:1317 \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
Tendermint RPC:
https://polygon-testnet-rpc.allthatnode.com:26657/'YOUR-API-KEY'
Put your ‘API-KEY’ with the endpoint in the correct place(Check out the samples on the next page!).
Otherwise, it means you are using the public endpoint we offer, therefore, we cannot count the API calls of your project nor make the request report for you.
POST
latestblock
Find 'YOUR-API-KEY'
by going to the menu (Dashboard > All Projects > Project Detail Page).