Endpoint Structure

Get to know what a Blockdaemon RPC API endpoint looks like.

The URL structure for Blockdaemon RPC API endpoints is as follows:

https://svc.blockdaemon.com/{protocol}/{network}/native

Note: If you created your API Key before September 2022, use the legacy URL:

https://ubiquity.api.blockdaemon.com/{protocol}/{network}/native

📘

Info!

Learn how to authorize your request: Authentication Guide

Some protocols require additional path parameters. The type of request (POST / GET) also depends on the protocol and API.

Example

To retrieve the current block number in Ethereum Mainnet, use the following POST request:

https://svc.blockdaemon.com/ethereum/mainnet/native

In the body of the request, specify:

{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 83}

You will get the block number in hexadecimal format: 0xd849f4.

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.