Polygon
Below you can find the endpoints and the samples
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.
- 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'
Find
'YOUR-API-KEY'
by going to the Dashboard menu (Dashboard > All Projects > Project Detail Page).Or you can use the public Polygon nodes without the API key.
(i.e.
https://polygon-mainnet-rpc.allthatnode.com:8545/
)But Public endpoints are not intended for DApp building. Please use private / dedicated RPC servers when you launch your application, drop NFTs, etc.
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
Last modified 8mo ago