πŸ“– Getting Started

1. Sign Up / Sign In

Begin by creating an account or logging in. ThunderStack RPC supports two authentication methods:

  • Username and Password: Use your standard login credentials.

  • Google Sign-In: Quickly access your account using your Google account.

2. Create an API Key

After signing in, you'll need to create an API key to interact with the RPC service:

  • Navigate to /api-keys: Go to the API Keys management page.

  • Click "Create API Key": Start the process of generating a new key.

  • Access Your Key: Once created, you will be redirected to a page displaying your API key along with the supported networks.

Please note that it may take a few minutes for the RPC service to become fully operational.

3. Select Your Supported Network

On the API key page, you'll find a list of all supported blockchain networks. Click on the network (chain) you wish to work with to obtain the corresponding endpoint URL.

4. Example Request

With your API key and endpoint URL in hand, you can now make a request. Here’s an example using cURL:

Using the query string method:

Copy

curl "https://rpc-<userId>.thunderstack.org/main/evm/<chainId>?token=<apiKey>" \
--data '{
    "method": "eth_getBlockByNumber",
    "params": ["latest", false],
    "id": 9199,
    "jsonrpc": "2.0"
}'

Using the HTTP header method:

Copy

curl -X POST "https://rpc-<userId>.thunderstack.org/main/evm/<chainId>" \
  -H "X-ERPC-Secret-Token:<apiKey>"
--data '{
    "method": "eth_getBlockByNumber",
    "params": ["latest", false],
    "id": 9199,
    "jsonrpc": "2.0"
}'

Replace <userId>, <chainId>, and <apiKey> with your actual user ID, chain identifier, and API key.

This setup will allow you to start making secure JSON-RPC calls to your chosen Bitcoin EVM-compatible layer seamlessly. Enjoy building with ThunderStack RPC!

Last updated