Time to read: 1 min
Blast API
Blast API is a Blockchain-optimized cloud infrastructure for low-latency, cost-effective RPC services on Rootstock.
Getting Started with Blast API​
Sign Up and Get an API Key
- Create an account on Blast API.
- Generate your API key from the dashboard.
Make Example cURL Request to get eth_blockNumber
Here’s a sample request to get eth_blockNumber:
curl -X POST https://rootstock-mainnet.public.blastapi.io -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":0,"method":"eth_blockNumber"}'
Response:
{
"jsonrpc": "2.0",
"id": 0,
"result": "0x6b04c8"
}