Make your First RPC Request

You’ll need the RPC URL of the network you want to access with your API key appended to it.

Steps

1

Write a request

The example provided fetches a network’s latest block number.

Request
1curl -X POST \
2-H 'Content-Type: application/json' \
3-d '{"jsonrpc":"2.0","id":"1","method":"eth_blockNumber","params":[]}' \
4RPC_URL_API_KEY_HERE
Response
1{"jsonrpc":"2.0","result":"0x430905","id":"1"}
2

Add RPC URL and API key

Supported networks can be found in the Conduit app, under the Endpoints tab of your API key page.

If you can’t find the RPC URL you’re looking for, you can get it from the chain owner.

3

Send request