Test transaction outcomes from Tenderly Web3 Gateway, the first node as a service that offers simulations from the same RPC. Try it for free in your dashboard.

Infra 3.0

Getting Started with Tenderly Web3 Gateway

Getting started with Tenderly Web3 Gateway as a node solution for your dapp is as easy as adding a single URL to your dapp's source code. Learn how to integrate with Web3 Gateway in 3 easy steps and explore the benefits of becoming an early adopter.

Danilo Danicic
Danilo Danicic
Nov 29, 2022 · 5 min read

In this post

Getting Started with Tenderly Web3 Gateway

The node infrastructure powering your dapp plays a critical role in its success and potential for mass adoption. If your dapp requires fast and reliable production node infrastructure built to scale seamlessly and deliver 100% data consistency, Tenderly’s Web3 Gateway node as a service solution has you covered.

With support for JSON-RPC, getting started with Tenderly Web3 Gateway is as simple as copying and pasting an RPC URL into your project.

In this short guide, you’ll learn how easy it is to integrate Tenderly Web3 Gateway into your project and discover the benefits of becoming an early adopter.

Why become a Tenderly Web3 Gateway early adopter?

If you have a Tenderly account, you can start using Tenderly Web3 Gateway right away and become an early adopter. If you don’t have an account, head over to the Registration page and take a minute to create one for free.

The first 1,000 early adopters who integrate Tenderly Web3 Gateway into their projects automatically get 100 million Tenderly Units (TU) for $50 per month. This limited-time offer will expire as soon as 1,000 dapps start using Tenderly Web3 Gateway as their node solution for blockchain access.

TU is the way we measure usage and rate limiting for Web3 Gateway. These are measurement units you consume depending on the request you’re making – read, write, or compute. You can check out the documentation to learn more about how Web3 Gateway usage is calculated.

To get on board Web3 Gateway, all you have to do is integrate Web3 Gateway into your project and start using it. No special signups or setups.

Use this link to launch Web3 Gateway.

Getting started with Web3 Gateway in 3 easy steps

We’ve made it extremely easy to start using Web3 Gateway. With minimal setup and no upfront costs, getting started is as easy as copying and pasting a code snippet with an RPC URL into your project.

Here’s how to get started with Web3 Gateway in three easy steps.

Step 1: Open Web3 Gateway in your Tenderly Dashboard

First, log into your Tenderly account and navigate to Tenderly Web3 Gateway from the dashboard by clicking Web3 Gateway from the left-hand menu. Or you can click this link to go to Tenderly Web3 Gateway directly.

Everything you need to create requests, monitor usage, and manage access to your node is nicely organized on this page.

Once you’re in, you’ll notice that the Web3 Gateway dashboard is divided into three sections: Networks, RPC Request Builder, and Access Controls.

  • The Networks section contains a list of all the support networks along with the RPC URLs, which you can add to your dapp's source code directly to access that particular network.
  • The RPC Request Builder gives you an easy way to define the parameters for your request, test-run the request, and analyze the returned data as a response. You can do all of this from your browser. In the next step, we’ll cover all the Request Builder options in more detail.
  • The Access Controls at the bottom of the page allow you to easily copy, manage, and reset your access key with a single click.

Step 2: Configure your request and copy the code snippet

The RPC Request Builder is where the magic happens. This section has three panels with options to define your request, test it out and analyze the data, and auto-generate code snippets that you can insert into your dapp.

Configure Request: This is where you configure your request by selecting the desired network, method and defining other parameters specific to the method you selected. For a detailed explanation of each method, you can check out the documentation, where you’ll find a list of all available methods along with their specific parameters.

Request Preview: Once you’ve defined the parameters for your request, Tenderly will automatically generate the code snippet for that request. You can copy and paste this code into your project and start making calls to the RPC URL. Depending on the language and architecture of your dapp, we give you the option to choose between using the raw request data, Ethers.js, cURL, and Web3.py snippet versions of the request.

Response Preview: If you want to test-run your request and see the results, you can send the request directly from your browser by clicking the Send Request button. The response will be displayed in the Response Preview panel in its raw and decoded form. Even though this is a preview, the data that you get back is queried from the blockchain and is accurate.

Step 3: Add the code snippet to your dapp and monitor usage

The final step is to copy the code snippet from the Request Preview and paste it into your code.

Here’s a quick video demo if you want to see this workflow in action.

In case you accidentally expose your secret API key or if it gets compromised in any way, you can reset it with a single click from the Access Controls section located below the RPC Request Builder.

To keep track of your Tenderly Web3 Gateway usage, click on the Usage Stats from the menu at the top of the page. Here, you can monitor the requests you’re making per network, filter usage stats based on different time intervals, view the number of failed requests, and more.

Get started with Web3 Gateway

Become an early adopter by integrating the Tenderly Web3 Gateway RPC URL into your dapp. The first 1,000 early adopters will get special pricing, including 100 million Tenderly Units for $50 per month. This special promo will expire as soon as 1,000 dapps start using Tenderly Web3 Gateway as their node solution for blockchain access.

Get started by launching Web3 Gateway.