Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cloud RPC API

Prerequisites

Before continuing, an account is required for access. If you already have an API key, however, you may skip this step.

First, please register or log in at https://cloud.developerdao.com. Next, In the center of the dashboard page, click the gray button that says “manage API keys”. Lastly, click the white button that says “Generate New API Key” and copy the newly generated key from the table below.

JSON-RPC

Sends a JSON-RPC call to the CHAIN_ID.

https://api.cloud.developerdao.com/rpc/{CHAIN_ID}/{API_KEY}

Websockets

Initiates a websocket connection to CHAIN_ID

wss://api.cloud.developerdao.com/ws/{CHAIN_ID}/{API_KEY}

Parameters

There are two parameters required on each path of the RPC service: a chain id and an api key.

ParameterDescriptionTypeOptional
CHAIN_IDRoutes your request to the chain you want to usePathFalse
API_KEYThe user’s API key obtained from the dashboard. Used for auth and tracking resource consumption.PathFalse

Supported Chain IDS

IDWS Support
ethfalse
basetrue
arb-onefalse
solanafalse
suifalse
bsctrue
polyfalse
opfalse