GetBlock tutorial on how to access Arbitrum node

How To Connect to Arbitrum Node

By GetBlock | GetBlock News & Updates | 20 Dec 2022


Hello everyone, today we’re going to demonstrate what is under the hood of GetBlock’s API nodes connection instruments.

Developed by OffChain Labs, Arbitrum is an ETH-compatible second-layer solution. Arbitrum ‘rolls up’ transactions into compressed data sets and broadcasts them to the mainnet in order to verify the results of these computations.

With GetBlock, Arbitrum shared and dedicated nodes can be seamlessly integrated into your decentralized product, starting today, by both beginners in web3 developers and professional veterans. GetBlock offers user-friendly solutions for all types of clients.

Now we are going to demonstrate how GetBlock users can interact with Shared nodes for Arbitrum.

First and foremost, let’s open the ‘Nodes’ folder located on the main page of the website and click ‘Shared nodes’.From there, search for Arbitrum and click ‘More Info’.

 

1*QMVd_Sfxy2uyPYD1j5E9ug.png Arbitrum’s dashboard GetBlock

In the Arbitrum dashboard we need to find and copy the URL link to the Arbitrum mainnet API endpoint and paste it into the Postman terminal. We use Postman to demonstrate the abilities of GetBlock. It is also necessary to set ‘POST’ as the type of command.

1*05Ggu0SslWkZtE42pHy6zw.png Postman terminal

Once this is done, we should type ‘x-api-key’ in the KEY field below. Copy the API Key and paste it into the ‘Value’ column of Postman.

1*K5tG__DAYSMhxrpMXiYsAA.png x-api-key

As API data is filled, let’s set the rest of the parameters in the ‘Body’ tab. Please choose ‘RAW’ as a type of data requested — as we need the unprocessed ‘raw’ data from the Arbitrum blockchain — and JSON as data format.

1*w_Kmb3kI7kPj5V7gm1yYOg.png Main menu

 

Then let’s go back to the Arbitrum Shared Nodes folder and select JSON RPC as your API interface.

1*vinZYl8div71UqHDliqyhQ.png Arbitrum Shared Nodes

 

In the drop-down menu ‘Available Nodes Methods’ in the left section of the screen, find Arbitrum and choose ‘eth_blocknumber’ command designed to return the number of the most recent block. Copy the code of request.

1*Nqu_cKUgKwQCk8_wl2LM9g.png “Available Nodes Methods” menu

 

Fill in the command by pasting the request into the Postman terminal and click ‘Send’ to authorize the request.

1*XmfGXtf2kiihs1HFa076EA.png Postman terminal

 

The request is complete!

Here’s also a video tutorial.

How do you rate this article?

31


GetBlock
GetBlock Verified Member

GetBlock is a Blockchain RPC provider that offers fast and easy API connection to full nodes of 50+ blockchains, including Bitcoin (BTC), Ethereum (ETH), Binance Smart Chain (BSC), among others.


GetBlock News & Updates
GetBlock News & Updates

GetBlock is a Blockchain-as-a-Service (BaaS) platform that provides a fast and easy API connection to full nodes from many leading blockchain platforms. Here we're going to publish updates related to the project development.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.