Only this pageAll pages
Powered by GitBook
Couldn't generate the PDF for 2839 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

GitHub sync

Loading...

GETTING STARTED

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

GUIDES

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

ADD-ONS

Loading...

Loading...

Loading...

API REFERENCE

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

How to set up an account

To start using GetBlock's services, you need to register an account. You’ll be ready to go in just a few clicks!

1

Go to GetBlock

Visit the homepage and click on the 'Dashboard' button in the upper-right corner, or use this direct link.

2

Choose the sign-up method

  • Register with Email

    Enter your name and email address, then verify your email to activate the account.

  • Sign in via Google

    Google will share your name, email, language preferences, and profile picture with GetBlock.

  • Connect with MetaMask

    Use a MetaMask wallet browser extension to sign up – no email or password required. If you don’t have a wallet extension installed, you’ll be prompted to add one.

  • Sign up with GitHub

    Use your GitHub credentials to set up an account.

3

Review and accept policies

During registration, you will be asked to accept our Terms of Service and Privacy Policy.

GetBlock's Sign-Up page, where users can register to access blockchain services

Access the dashboard

Once you've created an account and signed in, you'll be directed to the GetBlock Dashboard. Here, you can create endpoints, monitor your usage plan, and access statistics.

GetBlock user Dashboard

Check your User ID

Find your user ID located in the ‘Account Settings’ section or simply click your account icon to view it. Please use it when contacting GetBlock’s team so we can identify your account and help you faster.

Find the user ID

Welcome

Welcome to GetBlock.io! We make it easy for developers and businesses to connect to 50+ blockchain networks.

With our tools and services, you can focus on building your Web3 project without worrying about the technical details of setting up and managing blockchain nodes.

From DeFi apps and NFT platforms to analytics tools, AppChains, and more, GetBlock provides the infrastructure to help you build, test, and scale your blockchain-powered solutions.


Core GetBlock features

  • Plug-and-Play access

    Our ready-to-use blockchain nodes and APIs help you get started immediately.

  • 99.9% uptime Reliable 24/7 connection to multiple blockchain networks.

  • Multi-chain support

    Connect to Bitcoin, Ethereum, BNB Chain, Polygon, Solana, TON, and 50+ other networks. (And we support new protocols before anyone else!)

  • Flexible plans

    From free access to enterprise-grade solutions, we’ve got options for every stage of your project.

  • Custom solutions

    Need something unique? We can build tailored solutions for your specific blockchain needs.

  • 24/7 Expert support

    Our team is here to help with integrations, troubleshooting, and scaling.



Discover GetBlock


Popular chains

Get started with our most in-demand blockchain networks.


GetBlock Product Demo

How to create an account on GetBlock
GetBlock user dashboard for managing blockchain node access
How to find GetBlock user ID

Using Web3 libraries

Learn how to interact with blockchain networks through GetBlock’s node infrastructure using popular web3 libraries.

Here you'll find step-by-step instructions on how to integrate popular developer libraries like Web3.js, Ethers.js, and others with GetBlock API.

These libraries allow developers to interact with Ethereum and other EVM-compatible blockchains to read data, send transactions, and deploy smart contracts.

The guide covers setting up your connection to GetBlock and performing basic operations.

Ethereum

Tron

Arbitrum

BNB Smart Chain

Solana

Optimism

Polygon

Avalanche

Base

Cover

Getting Started

Create your account, explore plans & features, and make your first API call

Cover

Guides

Set up endpoints, manage access tokens, and integrate GetBlock APIs step-by-step

Cover

API Reference

View supported networks, available endpoints, and full API specifications

Cover

Explorer API

Track transactions and monitor network activity with real-time blockchain data

Access token management

GetBlock uses a secure authentication method based on access tokens to ensure that only authorized users can interact with blockchain nodes.

Every you create is assigned a unique access token:

The <ACCESS_TOKEN> authenticates requests directly through the endpoint URL.


Making an authenticated request

To make a request, include your full endpoint URL with the access token in the path.

Access tokens cannot be sent in headers.

For example, here’s how to fetch the latest Ethereum block number:

Response:


Access Token security

Always store your access tokens securely. Avoid exposing them in publicly accessible code repositories or logs.

If a token is compromised, you can quickly roll or delete it without disrupting other endpoints:

  1. Go to your GetBlock Dashboard.

  2. Locate the endpoint associated with the token.

  3. Click the three-dot icon () next to the endpoint.

  4. Select the option to either roll (regenerate) or delete the token.

This authentication method ensures that all your interactions with GetBlock’s services remain secure, reliable, and easy to manage.

https://go.getblock.io/<ACCESS_TOKEN>/
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
}'
{"jsonrpc":"2.0","id":"getblock.io","result":"0x1449641"}
endpoint
How to manage GetBlock access tokens
Regenerate or delete your access token

db_putString {disallowed} - Arbitrum

Example code for the db_putString {disallowed} json-rpc method. Сomplete guide on how to use db_putString {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

database - string

database name

key - string

key name

string - string

string to store.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0", "method": "db_putString", "params": [null, null, null], "id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

/v1/estimate_gas_price - Aptos

Example code for the /v1/estimate_gas_price json-rpc method. Сomplete guide on how to use /v1/estimate_gas_price json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/estimate_gas_price' \
--header 'Content-Type: application/json'

Response

{
    "deprioritized_gas_estimate": 100,
    "gas_estimate": 100,
    "prioritized_gas_estimate": 150
}

/v1/accounts/{account_hash}/modules - Aptos

Example code for the /v1/accounts/{account_hash}/modules json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/modules json-rpc in GetBlock.io Web3 documentation.

Parameters

limit -

Maximum number of resources to retrieve. Gets default page size if not provided.

ledger_version -

Ledger version. Defaults to latest if not provided.

start -

Optional cursor specifying pagination start. You can call this endpoint once without this parameter, and then use the cursor returned in the X-Aptos-Cursor header in the response.

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/modules?limit=10' \
--header 'Content-Type: application/json'

Response

[]

/v1/transactions/by_hash/{transaction_hash} - Aptos

Example code for the /v1/transactions/by_hash/{transaction_hash} json-rpc method. Сomplete guide on how to use /v1/transactions/by_hash/{transaction_hash} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/transactions/by_hash/0x0137b99014705df2077763263f170ebef40fc88006d09da3b9139a32d761b554' \
--header 'Content-Type: application/json'

Response

{
    "accumulator_root_hash": "0xb1a0103f04d8ef3a942f80f04d231e559ae9f2d2b5b1f04be510d64c1d0f1a8d",
    "changes": [],
    "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
    "gas_used": "0",
    "hash": "0x0137b99014705df2077763263f170ebef40fc88006d09da3b9139a32d761b554",
    "state_change_hash": "0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6",
    "state_checkpoint_hash": "0x4d1b411db4f596d3d5a44da27d165a89d2b2589cc56dac00e2d9430aa7999555",
    "success": true,
    "timestamp": "1685066477483995",
    "type": "state_checkpoint_transaction",
    "version": "147832590",
    "vm_status": "Executed successfully"
}

eth_coinbase {disallowed} - Arbitrum

Example code for the eth_coinbase {disallowed} json-rpc method. Сomplete guide on how to use eth_coinbase {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0", "method": "eth_coinbase", "params": [], "id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

eth_getBlockTransactionCountByHash - Arbitrum

Example code for the eth_getBlockTransactionCountByHash json-rpc method. Сomplete guide on how to use eth_getBlockTransactionCountByHash json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

hash of the block.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x5"
}

eth_newFilter - Arbitrum

Example code for the eth_newFilter json-rpc method. Сomplete guide on how to use eth_newFilter json-rpc in GetBlock.io Web3 documentation.

Parameters

Object - object

Filter options

Request

curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_newFilter", "params": [{"fromBlock": "earliest", "toBlock": "latest", "topics": []}], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x7a624b4e4688bb09c14e858427d9ede5"
}

Arbitrum (ARB)

Arbitrum Network API Reference for efficient interaction with ARB nodes, enabling fast, low-cost Layer 2 scaling solutions for Ethereum with high throughput and secure smart contracts.

Testing RPC connection

This section provides simple examples to help you test your connection to the blockchain, using Ethereum API as a reference.

eth_subscribe - Arbitrum

Example code for the eth_subscribe json-rpc method. Сomplete guide on how to use eth_subscribe json-rpc in GetBlock.io Web3 documentation.

Parameters

type - string

A subscription type, such as newHeads (new headers appended to the chain, including chain reorganizations), logs (logs that are included in new imported blocks and match the given filter criteria) or newPendingTransactions (hashes for all transactions that are added to the pending state and are signed with a key that is available in the node).

objects - hex string

Optional arguments such as an address, multiple addresses, and topics.

Request

wscat -c wss://go.getblock.io/ACCESS-TOKEN/ -x '{
  "jsonrpc": "2.0",
  "method": "eth_subscribe",
  "params": ["newHeads", null],
  "id": "getblock.io"
}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0xe5af64ddfd365b4632988c5935cfedb7"
}

shh_getFilterChanges {disallowed} - Arbitrum

Example code for the shh_getFilterChanges {disallowed} json-rpc method. Сomplete guide on how to use shh_getFilterChanges {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

id - string

the filter id.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_getFilterChanges",
  "params": [null],
  "id": "getblock.io"
}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

Yellowstone gRPC API

Power your Solana dApps and backends with the fastest, most reliable streaming data available. Yellowstone gRPC add-on is for apps that need every live event as fast as the network can deliver.

Aptos (APT)

Aptos Network API Reference for seamless interaction with APT nodes, enabling fast, secure, and scalable transactions on a next-generation Layer 1 blockchain.

Creating node endpoints

Follow the steps below to set up an endpoint and generate access tokens for your project.

1

Log in to your GetBlock account and navigate to the Dashboard.

2

Scroll down to find the My Endpoints section on the Dashboard.

3

Choose the desired blockchain protocol (e.g., Ethereum, BNB Chain, Polygon).

4

Select the specific network you want to interact with (mainnet or testnet).

5

Pick the API method that you need (e.g., JSON-RPC, WebSockets, GraphQL, etc).

6

Click 'Get' and have the endpoint URL with an access token generated.

How to generate an access token

Generate and add as many access tokens as required for this protocol. Each token is a unique endpoint for you and your application to interact with the blockchain.

Viewing and managing access tokens

  • To see all the access tokens generated for a specific protocol, simply expand the endpoint.

  • Each protocol has a configuration file that includes all relevant access token details.

  • The All Access Tokens Configuration file is located next to the My Endpoints section. Use it to review and manage your tokens.

Configuring dedicated nodes

Configure dedicated nodes in your GetBlock Dashboard. This guide covers customizing your node settings and completing the setup process.

To create a dedicated node endpoint, switch over to the ‘Dedicated Nodes’ tab in the Dashboard.

Switching to Dedicated nodes setup

Select a blockchain protocol you wish to deploy and the network type. Click Get to begin the setup process. In the setup window:

  1. Review and confirm your selected protocol and network.

  2. Select a subscription plan (available discounts are applied automatically).

  3. Customize your dedicated node with the following options:

    1. Node type: Choose between Full Node or Archive Node.

    2. Node client: Specify your preferred node implementation.

    3. API Interface: Select API options.

  4. Verify all selected configurations in the summary section and proceed to checkout.

Pay for your dedicated nodes via your GetBlock account. If additional support is required during setup, you can contact the GetBlock support team directly.

Configuring your private node

You can add more dedicated nodes following these steps. Add as many access tokens for each dedicated node as you need.

Using cURL for testing

These examples provide a starting point for testing your connection and querying blockchain data using cURL commands.

Before you start:

  1. Create a JSON-RPC endpoint for the Ethereum blockchain from your GetBlock account.

  2. Replace <ACCESS_TOKEN> in the examples below with your actual Access Token.

Fetch the current block number

Run the following command to retrieve the latest block number:

If successful, the response will include the current block number in hexadecimal value:

Get the chain ID

Identify the blockchain network with the eth_chainId method:

Response example:

In this example, 0x1 indicates the Ethereum Mainnet. The chain ID helps confirm which blockchain network you are interacting with.

Check account balance by address

Retrieve the balance of an Ethereum address using eth_getBalance. Replace <ACCOUNT_ADDRESS> with the target wallet address:

Example response:

The result field shows the account balance in wei (1 ether = 10¹⁸ wei).

For a list of supported RPC methods with examples, navigate to .

Postman Collection

Download the Postman GetBlock’s collection to test our service. It includes all the accessible endpoints of our nodes and ready-to-go examples.

Import the collection into your Postman workspace: .

  1. Once the page loads, you'll find a 'Run in Postman' button in the top-right corner. Click this button to open the collection directly in your Postman application.

  2. Select the desired network from the drop-down list on the sidebar.

  3. Paste the access token copied from your account instead of {YOUR_ACCESS_TOKEN}.

This token will grant you the necessary permissions to explore our node functionalities.

Web3.js integration

Learn how to use Web3.js, a widely-used JavaScript library for connecting to GetBlock nodes.

Web3.js is a JavaScript library built for interacting with the Ethereum blockchain and other EVM-compatible chains. It is used to send JSON-RPC calls to the Ethereum node via HTTP, IPC, or WebSocket connection to read data from the blockchain, make transactions, or deploy smart contracts.

Install Web3.js

Use your preferred package manager:

  • npm:

  • yarn:

  • Pure js link:

Set up your connection to GetBlock

For additional methods and options, refer to the official .

Top up CUs and boost limits

GetBlock users can top up their CU balance or upgrade to higher limits directly from their Dashboard, with a few click.

The current CU balance for Shared Node users is displayed on the Dashboard. This shows how many Compute Units (CUs) are left before running out.

With the "Top Up" feature, users can add more Compute Units to their account or upgrade to higher monthly limits.


Add Compute Units: Paid plan users

Starter, Pro & Enterprise users can refill their CU balance or switch to another plan for increased limits:

  1. Click the "Top Up" button on the Dashboard.

  2. Select the number of CUs you’d like to add or choose the recommended plan (if prompted) based on your usage needs.

  3. Confirm and finalize your purchase.

Your account balance will be updated immediately upon successful payment.


Increase CU limits: Free plan users

Free plan users cannot top up their Compute Units directly. Instead, you have the option to upgrade to one of our monthly paid plans, providing significantly higher limits and extra features.


Boost CU, RPS, and Access Token limits

If you're on the Enterprise plan (our customizable Shared Node plan), you can additionally request higher RPS and Access Token limits. Here’s how:

  1. Click "Change" on the Dashboard next to the Rate Limit section.

  1. Fill out and submit a request form, choosing your desired RPS limit, CU amount, and number of Access Tokens.

  1. Our team will review your request and reach out to you with next steps shortly.

This feature is perfect for users who need higher transaction throughput without changing their plan. For more demanding needs, consider .

TronWeb integration

In this guide, we will show you how to get started with TronWeb to connect to GetBlock.

TronWeb is a JavaScript library of TRON full node’s API functions that is used to deploy smart contracts, query blockchain and contract information, trade on the decentralized exchanges and change the blockchain state.

Firstly, you will need to add the TronWeb library to your project.

  • Npm:

  • Yarn:

In your javascript file, define TronWeb:

When you instantiate TronWeb you can define:

  • fullNode

  • solidityNode

  • eventServer

  • privateKey

you can also set a

  • fullHost

Which works as a jolly. If you do so, though, the more precise specification has priority. Supposing you are using a server which provides everything, like TronGrid, you can instantiate TronWeb as:

For retro-compatibility, though, you can continue to use the old approach, where any parameter is passed separately (using the GetBlock node as an example here):

After this you can call any TronWeb method:

All API references can be found in the project documentation at

Method response:

/v1/accounts/{account_hash}/module/{module_name} - Aptos

Example code for the /v1/accounts/{account_hash}/module/{module_name} json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/module/{module_name} json-rpc in GetBlock.io Web3 docume

Parameters

module_name -

A type of struct to retrieve.

ledger_version -

Ledger version. Defaults to latest if not provided.

Request

Response

How to generate accounts and send transactions

This guide explains how GetBlock users can connect to blockchain nodes to create accounts and send transactions.

In blockchains, ‘account’ should be referred to as a pair of private and public keys. Blockchains ‘recognize’ their users and balances by these keypairs.

Unlike login/password pairs in traditional computational solutions, in modern blockchains, every account can be restored with a private key only.

So, to broadcast transactions to a decentralized network, we need first to create (or restore) our account. The whole set of interactions is organized via Web3.js library.

Creating accounts

First, initialize the Web3.js library and set up the connection to a blockchain node:

Next, we can create an account on the testnet:

We can also restore an account from an existing private key:

You may ask what does ‘eth’ mean when we’re interacting with BNB Chain? No mistake, it reflects the fact that BNB Smart Chain is fully compatible with Ethereum Virtual Machine.

Sending transactions

In blockchains, transactions should be signed (authorized) to be ‘included’ into blockchains (confirmed by its consensus of miners or validators).

Here’s how our transactions are created. 0.01 ETH is used for demo.

That’s how the transaction looks before being included in the blockchain. Once signed, it can be sent to the network of nodes.

That’s it: your account is good to go and its transaction is submitted successfully!

eth_hashrate {disallowed} - Arbitrum

Example code for the eth_hashrate {disallowed} json-rpc method. Сomplete guide on how to use eth_hashrate {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

eth_getUncleByBlockNumberAndIndex - Arbitrum

Example code for the eth_getUncleByBlockNumberAndIndex json-rpc method. Сomplete guide on how to use eth_getUncleByBlockNumberAndIndex json-rpc in GetBlock.io Web3 documentation.

Parameters

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

QUANTITY - string

the uncle’s index position.

Request

Response

/v1/accounts/{account_hash}/resource/{resource_type} - Aptos

Example code for the /v1/accounts/{account_hash}/resource/{resource_type} json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/resource/{resource_type} json-rpc in GetBlock.io Web

Parameters

resource_type -

A type of struct to retrieve.

ledger_version -

Ledger version. Defaults to latest if not provided.

Request

Response

db_getHex {disallowed} - Arbitrum

Example code for the db_getHex {disallowed} json-rpc method. Сomplete guide on how to use db_getHex {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

database - string

Database name

key - string

key name

Request

Response

eth_getBlockByNumber - Arbitrum

Example code for the eth_getBlockByNumber json-rpc method. Сomplete guide on how to use eth_getBlockByNumber json-rpc in GetBlock.io Web3 documentation.

Parameters

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Boolean - Boolean

If true it returns the full transaction objects, if false only the hashes of the transactions.

Request

Response

eth_getBlockTransactionCountByNumber - Arbitrum

Example code for the eth_getBlockTransactionCountByNumber json-rpc method. Сomplete guide on how to use eth_getBlockTransactionCountByNumber json-rpc in GetBlock.io Web3 documentation.

Parameters

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Request

Response

db_getString {disallowed} - Arbitrum

Example code for the db_getString {disallowed} json-rpc method. Сomplete guide on how to use db_getString {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

database - string

database name

key - string

key name

Request

Response

eth_getBalance - Arbitrum

Example code for the eth_getBalance json-rpc method. Сomplete guide on how to use eth_getBalance json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

address to check for balance.

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Request

Response

eth_accounts - Arbitrum

Example code for the eth_accounts json-rpc method. Сomplete guide on how to use eth_accounts json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

eth_getTransactionCount - Arbitrum

Example code for the eth_getTransactionCount json-rpc method. Сomplete guide on how to use eth_getTransactionCount json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

address.

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Request

Response

shh_getMessages {disallowed} - Arbitrum

Example code for the shh_getMessages {disallowed} json-rpc method. Сomplete guide on how to use shh_getMessages {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

id - string

the filter id.

Request

Response

eth_mining {disallowed} - Arbitrum

Example code for the eth_mining {disallowed} json-rpc method. Сomplete guide on how to use eth_mining {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

shh_newGroup {disallowed} - Arbitrum

Example code for the shh_newGroup {disallowed} json-rpc method. Сomplete guide on how to use shh_newGroup {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

net_peerCount {disallowed} - Arbitrum

Example code for the net_peerCount {disallowed} json-rpc method. Сomplete guide on how to use net_peerCount {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

eth_gasPrice - Arbitrum

Example code for the eth_gasPrice json-rpc method. Сomplete guide on how to use eth_gasPrice json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

shh_newFilter {disallowed} - Arbitrum

Example code for the shh_newFilter {disallowed} json-rpc method. Сomplete guide on how to use shh_newFilter {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

filters - json object

filter object: { "to": "address" (string, optional) - Identity of the receiver. When present it will try to decrypt any incoming message if the client holds the private key to this identity. "topics": ["topic"] (array of string) - Array of topics which the incoming message’s topics should match. }

Request

Response

/v1/accounts/{account_hash} - Aptos

Example code for the /v1/accounts/{account_hash} json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

eth_sendRawTransaction - Arbitrum

Example code for the eth_sendRawTransaction json-rpc method. Сomplete guide on how to use eth_sendRawTransaction json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

The signed transaction data.

Request

Response

shh_addToGroup {disallowed} - Arbitrum

Example code for the shh_addToGroup {disallowed} json-rpc method. Сomplete guide on how to use shh_addToGroup {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

address - data

The identity address to add to a group

Request

Response

/v1/accounts/{account_hash}/events/{event_handle}/{field_name} - Aptos

Example code for the /v1/accounts/{account_hash}/events/{event_handle}/{field_name} json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/events/{event_handle}/{field_name} json-rp

Parameters

limit -

Maximum number of events to retrieve. Gets default page size if not provided.

start -

Optional starting sequence number of events. Defaults to the most recent events.

Request

Response

eth_blockNumber - Arbitrum

Example code for the eth_blockNumber json-rpc method. Сomplete guide on how to use eth_blockNumber json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/module/coin?module_name=coin' \
--header 'Content-Type: application/json'
{
    "error_code": "module_not_found",
    "message": "Module not found by Address(0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255), Module name(coin) and Ledger version(152087584)",
    "vm_error_code": null
}
curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": "getblock.io"}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["latest", "0x0"], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": null
}
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/resource/0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>?resource_type=0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>' \
--header 'Content-Type: application/json'
{
    "data": {
        "coin": {
            "value": "42470628935"
        },
        "deposit_events": {
            "counter": "2",
            "guid": {
                "id": {
                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                    "creation_num": "2"
                }
            }
        },
        "frozen": false,
        "withdraw_events": {
            "counter": "1",
            "guid": {
                "id": {
                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                    "creation_num": "3"
                }
            }
        }
    },
    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0", "method": "db_getHex", "params": [null, null], "id": "getblock.io"}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["latest", false], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "baseFeePerGas": "0x5f5e100",
        "difficulty": "0x1",
        "extraData": "0xd79c44e4c3397b74b78db0ea2d34c1106d8bae0752d6e352a859ae27185dec62",
        "gasLimit": "0x4000000000000",
        "gasUsed": "0x9b0c67",
        "hash": "0x9a682d3983aa3c86a32cc87ca21ae5f5eb7b5d175155ed941238e60b681ad280",
        "l1BlockNumber": "0x10924a4",
        "logsBloom": "0x0808000400200000c0040000000000840000000100040200400000000000000c010002000000000006204000012000080000008000100000000040000000000000102021000000008000006800000000000000000002010010004001048004000000000003000000000100200000080000000000800080000000201004000000000000000000800000000000000008088002000400002000000000400800000002000001008000000008000000000080000020020000004000020000001000000000800200000800060820000081000209000c000084020400010100008020010000001400400002000000080000400040001024016004000000000000000000",
        "miner": "0xa4b000000000000000000073657175656e636572",
        "mixHash": "0x000000000001310800000000010924a4000000000000000a0000000000000000",
        "nonce": "0x00000000000d7b9a",
        "number": "0x5bc4077",
        "parentHash": "0x6becdeda3dd59cbd1d5a459407ba3ffc298a1c64c7af27756f43d0db21144a92",
        "receiptsRoot": "0x18dd23ed85557f5ddf1075d35012611580401daf7ecb8a906915ef2036e9425c",
        "sendCount": "0x13108",
        "sendRoot": "0xd79c44e4c3397b74b78db0ea2d34c1106d8bae0752d6e352a859ae27185dec62",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x2d3a",
        "stateRoot": "0xb7845bcebb2a06b61b66e468c4f28ffa73e281101113b32bb49f1fb445d6eb8f",
        "timestamp": "0x6476c9df",
        "totalDifficulty": "0x469632f",
        "transactions": [
            "0x44613c8636c24b26ef754c899cb5f48600ccfe13a0ee697b40a9e92a0cb25a72",
            "0x0543ea3f502977d188eff073db26a325c0dec7f72f7a5033e65b6728964e2231"
        ],
        "transactionsRoot": "0x7989d9339de2ea4c5434ab01c0d5aff3853d6a0d746f306562ebe7ecb49e2c74",
        "uncles": []
    }
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x5"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0", "method": "db_getString", "params": [null, null], "id": "getblock.io"}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xb8b2522480f850eb198ada5c3f31ac528538d2f5", "latest"], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x153b785d20e80ac"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": []
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xb8b2522480f850eb198ada5c3f31ac528538d2f5", "latest"], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x48"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_getMessages",
  "params": [null],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": "getblock.io"}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_newGroup",
  "params": [],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "net_peerCount",
  "params": [],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x5f5e100"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_newFilter",
  "params": [null],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255' \
--header 'Content-Type: application/json'
{
    "authentication_key": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
    "sequence_number": "497660"
}
curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": "getblock.io"}'
{
    "error": {
        "code": -32000,
        "message": "rlp: element is larger than containing list"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_addToGroup",
  "params": [null],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/events/0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>/withdraw_events?limit=10' \
--header 'Content-Type: application/json'
[
    {
        "data": {
            "amount": "0"
        },
        "guid": {
            "account_address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
            "creation_number": "3"
        },
        "sequence_number": "0",
        "type": "0x1::coin::WithdrawEvent",
        "version": "129525896"
    }
]
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x5bc406c"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS_TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
}'
{
    "jsonrpc": "2.0",
    "id": "getblock.io",
    "result": "0x1449641"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS_TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_chainId",
    "params": [],
    "id": "getblock.io"
}'
{
  "jsonrpc": "2.0",
  "id": "getblock.io",
  "result": "0x1"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS_TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getBalance",
    "params": ["<ACCOUNT_ADDRESS>", "latest"],
    "id": "getblock.io"
}'
{
    "jsonrpc": "2.0",
    "id": "getblock.io",
    "result": "0x5a70dac3910910"
}
API Reference
npm install web3
yarn add web3
dist/web3.min.js
// Import the Web3 library
const Web3 = require('web3');

// Set GetBlock as the provider (replace ACCESS_TOKEN with your actual token)
var web3 = new Web3('https://go.getblock.io/ACCESS_TOKEN');

// Initialize web3 method
web3.eth.getBlockNumber().then(console.log);
Web3.js documentation
const Web3 = require('web3');

//Set up the provider (replace ACCESS-TOKEN with your actual token)
const web3 = new Web3('https://go.getblock.io/<ACCESS-TOKEN>/');
// Generate new address and private key
const accountTo = web3.eth.accounts.create();
console.log('Generated account:', accountTo);
// Restore account from private key
const privateKey = process.env['privateKey'];
const accountFrom = web3.eth.accounts.privateKeyToAccount(privateKey);
const createSignedTx = async (rawTx) => {
rawTx.gas = await web3.eth.estimateGas(rawTx);
return await accountFrom.signTransaction(rawTx);
}

const sendSignedTx = async (signedTx) => {
// You can use signedTx.rawTransaction as params for
// calling eth_sendRawTransaction JSON-RPC method
web3.eth.sendSignedTransaction(signedTx.rawTransaction).then(
console.log
);
}

const amountTo = "0.01" // ether
const rawTx = {
to: accountTo.address,
value: web3.utils.toWei(amountTo, 'ether'),
chainId: chainId
};

createSignedTx(rawTx).then(sendSignedTx)
BNB Smart Chain
https://documenter.getpostman.com/view/28751185/2s9YRDzqcX
Using Postman Collection for Ethereum JSON-RPC request
Using Postman to send a JSON-RPC request to an Ethereum node via GetBlock
Dedicated Nodes
managing GetBlock CU balance
How to add CU to your GetBlock RPC node package balance
Switching from free GetBlock free plan to higher limit plans
Increasing RPC node limits
Customizing GetBlock's Enterprise plan usage limits
How to create a node endpoint for blockchain API access
How to set up a private blockchain node
Configuring your private blockchain node server

eth_getTransactionByBlockNumberAndIndex - Arbitrum

Example code for the eth_getTransactionByBlockNumberAndIndex json-rpc method. Сomplete guide on how to use eth_getTransactionByBlockNumberAndIndex json-rpc in GetBlock.io Web3 documentation.

Parameters

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

QUANTITY - integer

Transaction index position.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["latest", "0x0"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0x187ccf13bc440afc7fb146abf0642d4d6c02c438ea067f49f133566eef8627eb",
        "blockNumber": "0x5bc407a",
        "chainId": "0xa4b1",
        "from": "0x00000000000000000000000000000000000a4b05",
        "gas": "0x0",
        "gasPrice": "0x0",
        "hash": "0x7144169eeaff9b4b9d0a1948fa6149784710e3f55da837f93201fcfb0a6c2450",
        "input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010924a40000000000000000000000000000000000000000000000000000000005bc407a0000000000000000000000000000000000000000000000000000000000000001",
        "nonce": "0x0",
        "r": "0x0",
        "s": "0x0",
        "to": "0x00000000000000000000000000000000000a4b05",
        "transactionIndex": "0x0",
        "type": "0x6a",
        "v": "0x0",
        "value": "0x0"
    }
}

Ethers.js integration

Set up GetBlock as a provider using Ethers.js library to interact with the blockchain and streamline your dApp development process.

Ethers.js is a lightweight JavaScript library for interacting with Ethereum and other EVM-compatible blockchains. It is commonly used by developers to build decentralized applications (dApps) and manage Ethereum-based operations like deploying smart contracts, interacting with them, and managing user wallets.

Install Ethers.js

Add Ethers.js to your project using your preferred package manager:

  • npm

npm install ethers
  • yarn

yarn add ethers

Set GetBlock as a provider

// Import the Ethers library
const { ethers } = require('ethers');

// Set up the provider (replace ACCESS_TOKEN with your actual token)
const provider = new ethers.JsonRpcProvider('https://go.getblock.io/ACCESS_TOKEN');

//Call a method using the provider
const main = async () => {
  const blockNumber = await provider.getBlockNumber();
  console.log("Latest Block Number:", blockNumber);
};

// Call the main function
main();

For further details and advanced usage, explore the Ethers.js documentation.

eth_getUncleCountByBlockHash - Arbitrum

Example code for the eth_getUncleCountByBlockHash json-rpc method. Сomplete guide on how to use eth_getUncleCountByBlockHash json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

hash of the block.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x0"
}

eth_getTransactionByHash - Arbitrum

Example code for the eth_getTransactionByHash json-rpc method. Сomplete guide on how to use eth_getTransactionByHash json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

Hash of a transaction.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xfd11ef35c7179439723e026cb7857ea5a2e48a19257bec00b0ed26672f632181"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0xd8fe755134d44967f0c919084d3e0ec9b875c476c924f37bff17e5ef37d10d47",
        "blockNumber": "0x5911313",
        "chainId": "0xa4b1",
        "from": "0xe911f7f98ac57cf0c1cc71519d3ba720089381c4",
        "gas": "0x1a02b0",
        "gasPrice": "0x1dcd6500",
        "hash": "0xfd11ef35c7179439723e026cb7857ea5a2e48a19257bec00b0ed26672f632181",
        "input": "0x1801fbe5d5843b1d8c7345812c7ba7257e927b0c5e000000a6ca46b71aa1cdb6545660ad000000004f62e6aa5433274e333035ca261c12397df9febee0782f42749b8e0b",
        "nonce": "0x3c",
        "r": "0x87ac24f33be39a0bd27fe84a8934aa957610872606e5dbc46d296843a57930df",
        "s": "0x6ad9aba71382c20a528f3310c369b095e15991b352aea3261e2683c2b1288964",
        "to": "0xae56c981f9bb8b07e380b209fcd1498c5876fd4c",
        "transactionIndex": "0x1",
        "type": "0x0",
        "v": "0x14986",
        "value": "0x0"
    }
}

eth_sendTransaction - Arbitrum

Example code for the eth_sendTransaction json-rpc method. Сomplete guide on how to use eth_sendTransaction json-rpc in GetBlock.io Web3 documentation.

Parameters

object - json object

The transacion call object in format: { "from": "address" (optional, string) - The address the transaction is sent from. "to": "address" (optional, string) - The address the transaction is directed to. "gas": "quantity" (optional, string) - Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions. "gasPrice": "quantity" (optional, string) - Integer of the gasPrice used for each paid gas "value": "quantity" (optional, string) - Integer of the value sent with this transaction "data": "data" (optional, string) - Hash of the method signature and encoded parameters. "nonce": "quantity" (optional, string) - Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce. }

Request

curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_sendTransaction", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}], "id": "getblock.io"}'

Response

{
    "error": {
        "code": -32000,
        "message": "unknown account"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}

eth_signTransaction - Arbitrum

Example code for the eth_signTransaction json-rpc method. Сomplete guide on how to use eth_signTransaction json-rpc in GetBlock.io Web3 documentation.

Parameters

object - json object

The transacion call object in format: { "from": "address" (optional, string) - The address the transaction is sent from. "to": "address" (optional, string) - The address the transaction is directed to. "gas": "quantity" (optional, string) - Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions. "gasPrice": "quantity" (optional, string) - Integer of the gasPrice used for each paid gas "value": "quantity" (optional, string) - Integer of the value sent with this transaction "data": "data" (optional, string) - Hash of the method signature and encoded parameters. "nonce": "quantity" (optional, string) - Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce. }

Request

curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_signTransaction", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}], "id": "getblock.io"}'

Response

{
    "error": {
        "code": -32000,
        "message": "nonce not specified"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}

Plans and limits

GetBlock offers scalable plans tailored to developers and businesses, providing flexible solutions for both small projects and high-traffic platforms.

GetBlock offers flexible plans and features to support developers and businesses at any stage, from small projects to high-traffic platforms. This section covers available plans, scaling features, and managing subscriptions and payments.


/v1/accounts/{account_hash}/events/{creation_number} - Aptos

Example code for the /v1/accounts/{account_hash}/events/{creation_number} json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/events/{creation_number} json-rpc in GetBlock.io Web

Parameters

limit -

Maximum number of events to retrieve. Gets default page size if not provided.

start -

Optional starting sequence number of events. Defaults to the most recent events.

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/events/2?limit=10' \
--header 'Content-Type: application/json'

Response

[
    {
        "data": {
            "amount": "100000000000"
        },
        "guid": {
            "account_address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
            "creation_number": "2"
        },
        "sequence_number": "0",
        "type": "0x1::coin::DepositEvent",
        "version": "129456718"
    },
    {
        "data": {
            "amount": "0"
        },
        "guid": {
            "account_address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
            "creation_number": "2"
        },
        "sequence_number": "1",
        "type": "0x1::coin::DepositEvent",
        "version": "129525896"
    }
]

eth_getStorageAt - Arbitrum

Example code for the eth_getStorageAt json-rpc method. Сomplete guide on how to use eth_getStorageAt json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

address to check for balance.

QUANTITY - integer

Position in the storage.

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x9b956e3d318625be2686ae7268d81777c462d41f", "0x0", "latest"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}

eth_getTransactionByBlockHashAndIndex - Arbitrum

Example code for the eth_getTransactionByBlockHashAndIndex json-rpc method. Сomplete guide on how to use eth_getTransactionByBlockHashAndIndex json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

Hash of a block.

QUANTITY - integer

Transaction index position.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a", "0x0"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a",
        "blockNumber": "0x5206d53",
        "chainId": "0xa4b1",
        "from": "0x00000000000000000000000000000000000a4b05",
        "gas": "0x0",
        "gasPrice": "0x0",
        "hash": "0xaf256a9ce8839489dcaa4f9a2740bcd5865b3db34a15434cce29e6bdcf043bc7",
        "input": "0x6bf6a42d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105e0460000000000000000000000000000000000000000000000000000000005206d530000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0",
        "r": "0x0",
        "s": "0x0",
        "to": "0x00000000000000000000000000000000000a4b05",
        "transactionIndex": "0x0",
        "type": "0x6a",
        "v": "0x0",
        "value": "0x0"
    }
}

/v1 - Aptos

Example code for the /v1 json-rpc method. Сomplete guide on how to use /v1 json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/info' \
--header 'Content-Type: application/json'

Response

{
    "block_height": "58851650",
    "chain_id": 1,
    "epoch": "2796",
    "git_hash": "6568c5ee6a58b4f96c0780d4f66d7e573e61c418",
    "ledger_timestamp": "1685696086534090",
    "ledger_version": "152087593",
    "node_role": "full_node",
    "oldest_block_height": "1101178",
    "oldest_ledger_version": "2287593"
}

rpc_modules - Arbitrum

Example code for the rpc_modules json-rpc method. Сomplete guide on how to use rpc_modules json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "rpc_modules",
  "params": [],
  "id": "getblock.io"
}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "arb": "1.0",
        "debug": "1.0",
        "eth": "1.0",
        "net": "1.0",
        "rpc": "1.0",
        "txpool": "1.0",
        "web3": "1.0"
    }
}

eth_sign - Arbitrum

Example code for the eth_sign json-rpc method. Сomplete guide on how to use eth_sign json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

address.

DATA - string

message to sign.

Request

curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_sign", "params": ["0x9b956e3d318625be2686ae7268d81777c462d41f", "0xdeadbeaf"], "id": "getblock.io"}'

Response

{
    "error": {
        "code": -32000,
        "message": "unknown account"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}

eth_getUncleByBlockHashAndIndex - Arbitrum

Example code for the eth_getUncleByBlockHashAndIndex json-rpc method. Сomplete guide on how to use eth_getUncleByBlockHashAndIndex json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

Hash of a block.

QUANTITY - string

the uncle’s index position.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a", "0x0"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": null
}

eth_getCode - Arbitrum

Example code for the eth_getCode json-rpc method. Сomplete guide on how to use eth_getCode json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

address.

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x9b956e3d318625be2686ae7268d81777c462d41f", "latest"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x"
}

shh_hasIdentity {disallowed} - Arbitrum

Example code for the shh_hasIdentity {disallowed} json-rpc method. Сomplete guide on how to use shh_hasIdentity {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

address - data

the address of the new identiy.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_hasIdentity",
  "params": [null],
  "id": "getblock.io"
}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

eth_newBlockFilter - Arbitrum

Example code for the eth_newBlockFilter json-rpc method. Сomplete guide on how to use eth_newBlockFilter json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params": [], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x6aacc1719383adeb356a720506fd2064"
}

Endpoint setup

Configure and manage blockchain node endpoints through GetBlock, offering easy creation of shared nodes

Set up and manage blockchain node endpoints with GetBlock. This section covers creating shared node endpoints, generating access tokens, and configuring dedicated nodes with customizable settings.

db_putHex {disallowed} - Arbitrum

Example code for the db_putHex {disallowed} json-rpc method. Сomplete guide on how to use db_putHex {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

database - string

database name

key - string

key name

data - data

data to store.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0", "method": "db_putHex", "params": [null, null, null], "id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

eth_call - Arbitrum

Example code for the eth_call json-rpc method. Сomplete guide on how to use eth_call json-rpc in GetBlock.io Web3 documentation.

Parameters

object - json object

The transacion call object in format: { "from": "address" (optional, string) - The address the transaction is sent from. "to": "address" (optional, string) - The address the transaction is directed to. "gas": "quantity" (optional, string) - Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions. "gasPrice": "quantity" (optional, string) - Integer of the gasPrice used for each paid gas "value": "quantity" (optional, string) - Integer of the value sent with this transaction "data": "data" (optional, string) - Hash of the method signature and encoded parameters. }

QUANTITY|TAG - string

integer block number, or the string "latest", "earliest" or "pending".

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": "getblock.io"}'

Response

{
    "error": {
        "code": -32000,
        "message": "err: insufficient funds for gas * price + value: address 0xb60E8dD61C5d32be8058BB8eb970870F07233155 have 0 want 304000002441406250 (supplied gas 30400)"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}

eth_getUncleCountByBlockNumber - Arbitrum

Example code for the eth_getUncleCountByBlockNumber json-rpc method. Сomplete guide on how to use eth_getUncleCountByBlockNumber json-rpc in GetBlock.io Web3 documentation.

Parameters

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

Request

curl --location --request POST 'https://go.getblock.io/YOUR-ACCESS-TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["latest"], "id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x0"
}

net_version - Arbitrum

Example code for the net_version json-rpc method. Сomplete guide on how to use net_version json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "net_version",
  "params": [],
  "id": "getblock.io"
}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "42161"
}
npm install tronweb
yarn add tronweb
const TronWeb = require('tronweb');
const tronWeb = new TronWeb({
fullHost: "https://go.getblock.io/<ACCESS-TOKEN>/"
})
const fullNode = new TronWeb.providers.HttpProvider("https://go.getblock.io/<ACCESS-TOKEN>/")
const solidityNode = new TronWeb.providers.HttpProvider("https://go.getblock.io/<ACCESS-TOKEN>/")
const eventServer = new TronWeb.providers.HttpProvider("https://go.getblock.io/<ACCESS-TOKEN>/")
const tronWeb = new TronWeb(fullNode, solidityNode, eventServer)
tronWeb.trx.getBlock('latest').then(result => {console.log(result)});
https://developers.tron.network/reference
tronWeb.trx.getBlock(blockNumberOrBlockId) method response

eth_unsubscribe - Arbitrum

Example code for the eth_unsubscribe json-rpc method. Сomplete guide on how to use eth_unsubscribe json-rpc in GetBlock.io Web3 documentation.

Parameters

data - hex string

A subscription ID previously generated with eth_subscribe method.

Request

Response

{
    "jsonrpc":"2.0",
    "id":"getblock.io",
    "result":true
}

Monitoring and analytics

Track and manage your usage and node service subscriptions with GetBlock.

These tools help ensure optimal use of GetBlock’s services and keep you informed of key metrics and events related to your account.

Dashboard

The Dashboard provides a quick snapshot of key metrics:

  • Your current plan details

  • Remaining CU balance

  • Rate limit based on your plan

  • Total requests made in the last 24 hours

Detailed statistics

For more detailed analysis, visit the Statistics tab in ‘My Endpoints’ section.

Customize the data view by parameters or by access tokens using the dropdown menu.

Select the time period, protocol name, networks (mainnet/testnet), and API interfaces to analyze the data by parameters.

The Statistics tab shows more in-depth and customizable data analysis for your endpoints

All data is displayed through infographics, including:

  • Number of requests

  • Response statuses

  • Method call distribution

  • Rate limit rejections

Visual analytics

Notifications

GetBlock provides a notification system to help you monitor your usage and subscription status.

You can set up alerts for both CU balance and subscription expirations.

Alert types:

  • Run out of CU: Notifies you when your CU balance reaches zero.

  • CU balance alerts: Warns when remaining CUs drop below specified limits.

  • Subscription expiration alerts: Help you renew your dedicated node plans on time.

Set up email, Telegram, or Webhook alerts to monitor your usage and subscription status from Settings → Notification Settings.

Payment methods

GetBlock supports both fiat and crypto payments.

Fiat payments

Users can pay for subscriptions using traditional fiat currency via Paddle.

How it works:

  • Recurring payments enabled by default: Payment is automatically deducted on the billing date.

  • Fees: VAT is applied to Paddle payments and varies depending on your region

  • If the card balance is insufficient: GetBlock will retry the payment after three days. If the retry fails, the plan will be frozen until the payment is resolved.

Please, account for VAT when planning your payments.


Updating your payment details

To update your payment information while you have an active subscription:

  1. Go to Pricing → Manage Plans.

  2. Click ‘Edit Payment Method’.

  3. Enter your updated payment details and save the changes.


Crypto payments

Users can top up their accounts with cryptocurrency through NOWPayments.

How it works:

  • Payments are processed as one-time transactions: add funds as needed.

  • Supported cryptocurrencies: any token on any network available through NOWPayments at the time of payment.

  • Fees: blockchain network fees apply.

If the network fees are insufficient or the transaction fails, the payment will not be processed and the subscription plan will not be activated. Please, include enough gas fees to ensure the transaction processes successfully.

Errors and troubleshooting

This page provides a guide to common JSON-RPC and HTTP errors when testing your connection with GetBlock's API.

Connection issues

Code
Error message
Solution

JSON-RPC errors

Code
Error message
Solution

Using GetBlock configuration files

GetBlock’s configuration file provides a more organized and flexible way to interact with blockchain nodes and networks without exposing sensitive API keys or credentials in the code.

How to make HTTP requests with curl using JSON config file

Using GetBlock’s JSON configuration file with curl is particularly helpful when you need to access various node endpoints without hardcoding API keys in the code:

  1. Download the getblock.config.json file from your GetBlock account;

  2. Make sure you have installed. jq is a versatile command-line tool that enables extracting values from JSON files;

  3. Navigate to your workspace or directory where you have imported the getblock.config.json file and open a terminal;

  4. Now, you can make a GET request to a selected node endpoint using the curl command:

How to use GetBlock’s JavaScript config with Web3.js

Connect to Ethereum nodes and other EVM-compatible networks using web3.js and GetBlock’s JS configuration file.

  1. Make sure the web3.js library is added to your project. In order to do that, use one of the following methods:

  • Npm: npm install web3

  • Yarn: yarn add web3

  • Pure js link: dist/web3.min.js

  1. Download the getblock.config.js file from your GetBlock account. Add this file to your project directory.

  2. Import the getblock module to a .js file that configures a new Web3 instance:

  1. Connect to an Ethereum node and start sending API calls using web3.js over HTTP or WebSocket in the format below:

Use go() method to access an entire endpoint or token() to fetch the token.

How to use the JS config with Hardhat

Set up GetBlock’s JS config file in Hardhat following the steps below:

  1. Ensure you have Hardhat installed as a dependency in your Node.js project or run the following command to do so:

  1. Navigate to your GetBlock account and install the getblock.config.js file. Copy and paste it into your working directory;

  2. Open the hardhat.config.js file from your project directory and import the getblock module:

  1. To set up GetBlock as a provider, modify the Hardhat configuration file with the credentials as shown below. Use go() method to access an entire endpoint or token() to fetch the token only.

eth_getBlockByHash - Arbitrum

Example code for the eth_getBlockByHash json-rpc method. Сomplete guide on how to use eth_getBlockByHash json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

Hash of a block.

Boolean - Boolean

If true it returns the full transaction objects, if false only the hashes of the transactions.

Request

Response

shh_newIdentity {disallowed} - Arbitrum

Example code for the shh_newIdentity {disallowed} json-rpc method. Сomplete guide on how to use shh_newIdentity {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

net_listening {disallowed} - Arbitrum

Example code for the net_listening {disallowed} json-rpc method. Сomplete guide on how to use net_listening {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

eth_syncing - Arbitrum

Example code for the eth_syncing json-rpc method. Сomplete guide on how to use eth_syncing json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

eth_estimateGas - Arbitrum

Example code for the eth_estimateGas json-rpc method. Сomplete guide on how to use eth_estimateGas json-rpc in GetBlock.io Web3 documentation.

Parameters

object - json object

The transacion call object in format: { "from": "address" (optional, string) - The address the transaction is sent from. "to": "address" (optional, string) - The address the transaction is directed to. "gas": "quantity" (optional, string) - Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions. "gasPrice": "quantity" (optional, string) - Integer of the gasPrice used for each paid gas "value": "quantity" (optional, string) - Integer of the value sent with this transaction "data": "data" (optional, string) - Hash of the method signature and encoded parameters. }

QUANTITY|TAG - string

Optional.

integer block number, or the string "latest", "earliest" or "pending".

Request

Response

401

Access denied

Double-check that <ACCESS_TOKEN> is correctly replaced with your actual token. Ensure there are no trailing spaces.

404

Could not resolve host

Verify that the URL https://go.getblock.io/<ACCESS_TOKEN>/ is correct.

429

Too many requests

Check your GetBlock account for usage limits. Upgrade your plan if necessary.

32601

The method does not exist/is not available

Verify the method name (eth_blockNumber, eth_getBalance, etc.) against the blockchain's JSON-RPC specifications.

32602

Invalid argument

Ensure the parameters in the params array match the expected format for the method.

32700

Parse error

Double-check your JSON syntax. Ensure your request is properly formatted.

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a", false], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "baseFeePerGas": "0x5f5e100",
        "difficulty": "0x1",
        "extraData": "0xe31298ca6df96cb00d355ca9554878c19d39292b6a26eb9fc54b5df482851ef7",
        "gasLimit": "0x4000000000000",
        "gasUsed": "0x229dd8",
        "hash": "0xf5524f0cf99ac6bc5905e95294ebed9007e2d978155f3457118eb7a26d97503a",
        "l1BlockNumber": "0x105e046",
        "logsBloom": "0x00000100000000020000100000000000080000000000000000000000001000001000000000000000000000000101000000000000000000000001010000000000000010000000000000001008000120000100000000001000800100008000000000000000000000000000000000000000021000200000400000000010000000001000000000000000000000000008000000000001000000000008000000000010000000000000000000000000000000000000000000000000000000000000000000008002000048000000000000000000200800000000000010000000000000000000000040000000000000008000000010000000004010400000000000000040",
        "miner": "0xa4b000000000000000000073657175656e636572",
        "mixHash": "0x0000000000012069000000000105e046000000000000000a0000000000000000",
        "nonce": "0x00000000000c7662",
        "number": "0x5206d53",
        "parentHash": "0xb458d44871af788992e51a89661eb28a6539cf9f33c0e9a30d0aab5f2e50e974",
        "receiptsRoot": "0x184ea05480454e4c4fcf6406106a4cb13477af97d45752a126ee84de88695c7c",
        "sendCount": "0x12069",
        "sendRoot": "0xe31298ca6df96cb00d355ca9554878c19d39292b6a26eb9fc54b5df482851ef7",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x579",
        "stateRoot": "0xea41be04084dc613cfbf8d1fef75d9a097fad2b222373669e42e2aa173175649",
        "timestamp": "0x644f0242",
        "totalDifficulty": "0x3cd900b",
        "transactions": [
            "0xaf256a9ce8839489dcaa4f9a2740bcd5865b3db34a15434cce29e6bdcf043bc7",
            "0xfd7e27e19777598be2536bc6e4a5e89cc8a386eca46374333b1fba22641ed255",
            "0x98b2f04b2eb747e685c7db6f97ef2aaca236e146afb310ed039d56ab8599eb0e",
            "0x23c566cf1c2f208a74ef2e585b5bfe7fcffab6445027f06b4207ec43968cf71e",
            "0x9febdfb50d48f1891b6660379dcea3d0060808538a102d589e7ea3b7aa6d787d"
        ],
        "transactionsRoot": "0x22ef4159c9394a555af55a3ae5719bf15c1ff296838dd920f1566eeecb15aa1f",
        "uncles": []
    }
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "shh_newIdentity",
  "params": [],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "net_listening",
  "params": [],
  "id": "getblock.io"
}'
{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "eth_syncing",
  "params": [],
  "id": "getblock.io"
}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": false
}
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}], "id": "getblock.io"}'
{
    "error": {
        "code": -32000,
        "message": "insufficient funds for transfer"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}
curl -X GET https://go.getblock.io/"$(jq -r '.shared.btc.mainnet.rest[0]' getblock.config.json)"/rest/chaininfo.json
const { getblock } = require('./getblock.config.js');
const { getblock } = require('./getblock.config.js');
var Web3 = require('web3');

// Create the JSON-RPC provider
var web3Rpc = new Web3(new Web3.providers.HttpProvider(
        getblock.shared.eth.mainnet.rpc[0].go()
));

// Create the WebSocket provider
var web3Ws = new Web3.providers.WebsocketProvider(
        `wss://go.getblock.io/${getblock.shared.eth.mainnet.ws[0].token()}`
));
npm install --save-dev hardhat
const { getblock } = require('./getblock.config.js');
const { getblock } = require('./getblock.config.js'); 

module.exports = {
  defaultNetwork: "sepolia",
  networks: {
    hardhat: {
    },
    sepolia: {
      url: getblock.shared.eth.sepolia.rpc[0].go() // https://go.getblock.io/<ACCESS-TOKEN>/
    },
    goerli: {
      url: `https://go.getblock.io/${getblock.shared.eth.goerli.rpc[0].token()}` // <ACCESS-TOKEN>
    },
  },
  solidity: {
    version: "0.8.19",
    settings: {
      optimizer: {
        enabled: true,
        runs: 200
      }
    }
  },
  paths: {
    sources: "./contracts",
    tests: "./test",
    cache: "./cache",
    artifacts: "./artifacts"
  },
  mocha: {
    timeout: 40000
  }
}
jq
How to pay with fiat on GetBlock
Selecting fiat as a payment method
changing billing data in GetBlock accounts
How to pay for RPC nodes with crypto
Crypto payments
How to track your blockchain node service usage statistics
How to track your blokchain API usage
The charts visualizing blockchain API usage trends
Managing your blockchain RPC node usage with notifications

Overview

Yellowstone gRPC is a Solana Geyser plugin developed by Triton One that feeds your application a continuous, low-latency stream of on-chain data

Solana applications often need live, high-throughput access to on-chain events. Solana gRPC plugin solves this core problem of real-time blockchain data access.

What is Yellowstone gRPC?

Yellowstone gRPC is the name given to the Dragon’s Mouth Geyser plugin’s gRPC interface in Triton One’s “Yellowstone” suite for Solana. It allows opening streams and subscribing to native Solana on-chain events, receiving every new update in real time, with millisecond-level latency.

By plugging directly into validators, it pushes new blocks, transactions, and account updates to your backend the moment they occur.

How Yellowstone gRPC Geyser works

The Geyser Plugin hooks into validator callbacks for ledger events and publishes those events to its own internal queues. A gRPC server then streams the queued events over the network to subscribed clients.

Supported data streams & subscriptions

Geyser gRPC supports streaming the full range of common Solana events:

  • Account updates (writes): Every time an account’s data changes, a notification is emitted.

  • Transactions: Each transaction processed by the leader generates a stream event with all associated account changes.

  • Ledger entries: Low‑level entry/shred events (raw blocks of ledger data) can also be streamed.

  • Block notifications: Clients can subscribe to be notified when a new block is completed.

  • Slot notifications: New slot boundaries (leaders or votes) can trigger slot events.

Every update stream can include full transaction metadata, instruction details, and parsed logs – essentially everything you’d see in a getTransaction or getProgramAccounts call, but pushed in real time.

In addition to streaming methods, Dragon’s Mouth also exposes several unary RPCs via the same gRPC interface for quick queries about:

  • The Slot;

  • Block height;

  • Latest blockhash;

  • Valid blockhash.

Together, this provides a way to both fetch state on demand and receive updates in real time.


Yellowstone gRPC API features

  • Near-zero latency: By streaming directly from leaders, Dragon’s Mouth delivers updates often hundreds of milliseconds faster than standard RPC/WebSocket APIs.

  • High throughput: The plugin can handle millions of events per minute under load, built for Solana’s high transaction volume. Optional compression can be applied for even more efficiency.

  • Built-in support for bi-directional streaming: Keep-alives, ping/pong frames help maintain long-lived connections.

  • Comprehensive streaming: Clients can monitor virtually anything: token mints, program interactions, votes, etc.

  • Protobuf/binary encoding: Each message arrives parsed and typed, not raw base64. Clients get structured fields (account diffs, token balance changes, parsed logs, etc.) instead of raw blobs.

  • Rich filtering: You can apply filters (by account key, owner program, data patterns, commitment level, etc.) so only matching updates are streamed.

Overall, applications can keep pace with Solana’s peak TPS without data loss, receive only relevant updates, save bandwidth, and react faster.


Solana Geyser gRPC plugin use cases

Solana gRPC streaming capabilities are crucial for time-sensitive applications, apps that need to react the moment on-chain state changes without manual refreshes.

gRPC API ideal use cases include:

  • High-frequency trading or arbitrage systems (e.g. MEV bots);

  • On-chain indexers & archives;

  • Live analytics;

  • Real-time monitors for DEXes, NFTs, wallets, etc.;

  • Alerting & notification systems;

  • DeFi strategy engines;

  • ..and any app that needs push‑style updates.

Note that gRPC is not supported in browsers, so Yellowstone is intended for backend services.


Why use Yellowstone gRPC API?

Using Yellowstone gRPC for your Solana data means you get a high-throughput, low-latency, bidirectional streaming channel.

Instead of polling REST endpoints every few seconds or using Solana’s WebSocket API (which typically only updates after a block finalizes), the gRPC interface allows tracking every new event down the wire as it happens.

Overall, it removes much of the boilerplate: your backend code subscribes once, then simply reacts to incoming messages

Connect to GetBlock with MetaMask

Learn how to set up custom RPC URL on MetaMask for faster, more reliable, and secure blockchain interactions.

MetaMask is a blockchain wallet available as a mobile application and a browser extension. It allows you to interact with Ethereum-based decentralized applications (dApps) directly from your browser.

Using GetBlock nodes with MetaMask makes your blockchain experience faster and more reliable than using default RPCs:

  • Connect directly to trusted nodes for secure transactions.

  • Enjoy quicker transactions and smoother dApp interactions.

  • Experience less downtime, even during busy network periods

This step-by-step tutorial will guide you through connecting GetBlock’s powerful nodes to your MetaMask wallet.


Before you start

Set up your wallet

If you don’t already have MetaMask, download and install it from the official website: https://metamask.io/download.

MetaMask extension is officially supported on Chrome, Brave, Firefox, Microsoft Edge, and Opera browsers.

Get a custom RPC URL

Generate a JSON-RPC URL for the selected network from your GetBlock account and copy it.

Generate an RPC URL for MetaMask

Rename your endpoints to clearly indicate their purpose.


Add GetBlock RPC to an existing network

If the network is already in your list but uses a default RPC provider, you can switch to GetBlock by following these steps:

  1. Click on the current network name in MetaMask to open the dropdown of networks.

  2. Find the network you want to edit and click the settings menunext to it. Select 'Edit'.

  1. Open the ‘Default RPC URL’ dropdown and select 'Add RPC URL'.

  2. Paste the JSON-RPC endpoint URL from your GetBlock account (https://go.getblock.io/<ACCESS_TOKEN>/).

  3. Name the new RPC URL for easier identification.

  1. Click 'Add URL', then 'Save' to confirm.

You can now switch between RPC URLs for that network as needed.


Add a new network to MetaMask

If the network isn’t in your list, you can add it as a custom network. For this example, we will add the Polygon zkEVM to MetaMask.

  1. Click on the current network name.

  2. Select 'Add a custom network'.

  1. Fill in the required fields:

Field
Description
Example

RPC URL

The network's JSON-RPC URL from your GetBlock account

https://go.getblock.io/<ACCESS_TOKEN>/

Chain ID

The ID of the network

1101

Network name

Fetched automatically based on Chain ID

Polygon zkEVM

Currency symbol

Suggested automatically based on Chain ID

ETH

Block explorer URL

Optional field

https://zkevm.polygonscan.com/

  1. Click 'Save', and the custom network will be added and selected as default.

You can get the Chain ID of an EVM-compatible network (e.g. Polygon zkEVM) sending a request to your endpoint with this curl command:

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_chainId",
    "params": [],
    "id": "getblock.io"
  }'

Choosing your plan

Compare GetBlock's subscription options to find the one that fits your project.

GetBlock offers three main service options—Shared Nodes, Dedicated Nodes, and Enterprise Solutions. This page provides a high-level overview of these services.

You can explore detailed pricing and plans from your dashboard in the “Pricing” section or via .


Shared nodes

Shared nodes operate on a resource-sharing model, where multiple clients access the same underlying node infrastructure maintained by GetBlock.

Our Shared Nodes deliver the perfect balance between affordability and performance:

  • Cost efficiency: Benefit from our pricing model based on , so you only pay for the resources needed for your current workload.

  • Flexible pricing: Options range from a free to high-volume plans — accessible for individual developers and smaller teams while supporting the scaling needs of growing dApps.

  • Consistent performance: Each plan enforces a Requests Per Second (RPS) limit, preventing individual spikes from impacting overall quality.

  • Tiered support levels: Support options adapt to your requirements, from basic help to priority support when you need it most.

  • Multi-chain accessibility: Prototype, test, and deploy applications across different networks without the complexities of connecting to each blockchain individually.

This option is ideal for developers and teams looking for reliable connectivity to various blockchain networks without the higher costs of dedicated server resources.


Dedicated nodes

A Dedicated Node is a private RPC server deployed solely for your use case. That means consistent throughput, no API rate throttling due to other users, and better uptime guarantees.

If your project demands the fastest, most reliable blockchain infrastructure, a Dedicated Node from GetBlock is a perfect choice.

This option is ideal for users that require high performance, full control over node configuration, and a flawless connection to the blockchain without any limitations:

  • Mission-critical reliability: Maximized uptime and robust failover mechanisms for even more reliable service.

  • Unlimited usage: No per-second request caps or CU tracking.

  • Low latency: With servers available in Europe, Asia, and the USA, choose the optimal server location to minimize latency and enhance performance for your users

  • Fully customizable: Complete control over your node configurations, including access to archive data.

  • Predictable pricing:

    • Full Node: $1,000/month;

    • Archive Node: $1,500/ month.

  • Expert support: 24/7 coverage and immediate issue resolution.

A few high-resource blockchain settings (e.g., Arbitrum mainnet, NEAR mainnet) may come with custom pricing due to their intense infrastructure requirements.


Enterprise solutions

This option is designed to meet the needs of organizations operating at scale or applications that require extra resources, features, and dedicated support.

What’s included:

  • 99.9% uptime guarantee

  • Customizable node configurations and integrations

  • Performance optimization via load balancers

  • Advanced analytics and alert systems

  • Priority assistance from GetBlock experts

Visit the to learn more about how we tailor services to fit complex, high-demand environments.

/v1/accounts/{account_hash}/resources - Aptos

Example code for the /v1/accounts/{account_hash}/resources json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/resources json-rpc in GetBlock.io Web3 documentation.

Parameters

limit -

Maximum number of resources to retrieve. Gets default page size if not provided.

ledger_version -

Ledger version. Defaults to latest if not provided.

start -

Optional cursor specifying pagination start. You can call this endpoint once without this parameter, and then use the cursor returned in the X-Aptos-Cursor header in the response.

Request

Response

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/resources?limit=10' \
--header 'Content-Type: application/json'
[
    {
        "data": {
            "authentication_key": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
            "coin_register_events": {
                "counter": "1",
                "guid": {
                    "id": {
                        "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "creation_num": "0"
                    }
                }
            },
            "guid_creation_num": "4",
            "key_rotation_events": {
                "counter": "0",
                "guid": {
                    "id": {
                        "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "creation_num": "1"
                    }
                }
            },
            "rotation_capability_offer": {
                "for": {
                    "vec": []
                }
            },
            "sequence_number": "497660",
            "signer_capability_offer": {
                "for": {
                    "vec": []
                }
            }
        },
        "type": "0x1::account::Account"
    },
    {
        "data": {
            "coin": {
                "value": "42470628935"
            },
            "deposit_events": {
                "counter": "2",
                "guid": {
                    "id": {
                        "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "creation_num": "2"
                    }
                }
            },
            "frozen": false,
            "withdraw_events": {
                "counter": "1",
                "guid": {
                    "id": {
                        "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "creation_num": "3"
                    }
                }
            }
        },
        "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
    }
]
https://getblock.io/pricing/
Compute Units (CU)
Enterprise Solutions page
GetBlock shared RPC node pricing options
GetBlock shared node service options
What does it cost to deploy a private blockchain node
GetBlock private node features and pricing
How to get a custom RPC URL for MetaMask
How to set up the custom RPC URL on MetaMask
How to change the RPC URL on MetaMask
Adding a new network to MetaMask using custom RPC URL
GetBlock Product Demo
wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/ -x '{ 
  "jsonrpc": "2.0", 
  "id": "getblock.io", 
  "method": "eth_unsubscribe", 
  "params": ["<SUBSCRIPTION_ID>"] 
}'
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "eth_unsubscribe",
  "params": ["0xe5af64ddfd365b4632988c5935cfedb7"],
  "id": "getblock.io"
}'

CU and rate limits

GetBlock provides access to over 50 blockchains. CU and rate limits depend on the selected plan.

This guide explains how limits work across all available plans, helping you understand what’s included and how to choose the option that best fits your current workload and future growth.

  • Shared Nodes operate on a system of limits defined by Compute Units (CUs) and Requests Per Second (RPS). Each plan also determines how many access tokens you can generate.

  • With Dedicated Nodes, you’re not limited by CUs or RPS.


Shared node limits

GetBlock’s shared node service is subject to several usage limits. These are the key limits that directly affect costs and performance:

  • CU (Compute Units): Measures the computational effort required to process requests. Different shared node plans include a varying number of CUs that you can use in a month.

  • RPS (Requests Per Second): Each plan enforces a maximum number of requests you can send every second. While you’re not billed per request, staying within this limit is critical to maintaining optimal service quality.

  • Access Tokens: Access tokens are unique identifiers used to authenticate your connection to GetBlock’s node infrastructure, generated when you create an endpoint. The limitation on your plan determines how many of these access tokens (and therefore endpoints) you can create.

Plan
Free
Starter
Pro
Enterprise

$0

$49

$499

from $999

CU Allocation

50k/day

50M/month

600M/month

Custom

RPS Limit

5 RPS

25 RPS

200 RPS

Custom

Access Tokens

2

10

50

Custom

Extra CU Purchase

❌

✅

✅

✅

To see the full comparison table, navigate to https://getblock.io/pricing/.

Your balance of CUs for Shared Nodes is distributed on all endpoints added under the ‘Shared nodes’ tab.

The plan is ideal if you’re just starting out and do not have complex calls or large request volumes.

  • CU: 50,000/day

  • Rate: 5 requests per second (RPS)

  • Access Tokens: 2

Compute Units are renewed daily, but unused CUs cannot be transferred to the next day.

Clients who want to increase their usage limits can choose between the higher-tier options.

This is a monthly subscription designed for use cases that are growing beyond the free tier. It offers a significant increase in CU compared to the Free plan.

  • CU: 50M per month (~1.6M/day)

  • Rate: 25 requests per second (RPS)

  • Access Tokens: 10

  • Additional CU packages can be purchased as needed.

The Pro Plan is the perfect middle ground before going custom. It's built for applications that need higher throughput and increased resource availability.

  • CU: 600M per month (~20M/day)

  • Rate: 200 requests per second (RPS)

  • Access Tokens: 50

  • Purchase additional CU packages when required

The Enterprise plan is fully customizable with tailored CU allocations, rate limits, and access tokens to meet exceptionally high call volumes and performance requirements.

  • CU: Custom monthly allocation based on your demands

  • Rate limit: Custom

  • Access Tokens: Custom

  • Additional CU packages can be purchased on demand


Managing unused & extra CUs

If you don’t use all your allocated CUs within a month, the unused amount will carry over to the next month as long as your subscription is active and renewed. If your subscription expires or is not renewed on time, the remaining CUs will be lost.

If your demand exceeds the included limits, you can purchase extra CU packages. This means that even within a given plan, there’s room for scaling without an immediate need to move to a higher tier.

  • Top up CUs and boost limits


Dedicated node limits

Our Dedicated Node service is perfect for teams and projects that demand absolute freedom from rate limits and CU monitoring.

  • CU: Unlimited

  • Rate: Unlimited


If you’re unsure which plan best fits your needs, our team is ready to help! Contact our support team or visit our Choosing your plan page for more information.

Connect Brave Wallet to GetBlock

Explore how to add custom GetBlock RPC endpoints to Brave Wallet for greater security, transaction speed, and reliability

Brave Wallet supports many networks and offers extensive customization options. However, each of its chains uses a public RPC API endpoint, which is very bad for privacy and efficiency.

GetBlock’s private RPC nodes can solve this problem. After downloading the Brave browser and setting up the wallet, visit https://account.getblock.io/ and get one of the 60+ available chain endpoints.

Using custom GetBlock nodes improves the Web3 experience in many ways:

  • Secure connections without privacy breaches

  • Lower latency and higher transaction speed

  • No overloads even during high chain activities

Every wallet’s network can be modified this way, and this step-by-step guide shows how to do that.


Before you start

You need to set up the Brave wallet and prepare the GetBlock API endpoints.

Download Brave and set up the wallet

Brave Wallet is inseparable from the Brave browser. So, download and install the browser from the official website. It’s available for desktop, Android, and iOS.

After opening the browser, look at the wallet icon in the upper right corner. Click on it to open the Brave Wallet. Import the account using a seed phrase or create a new one.

Now, it’s time to prepare the working part: the GetBlock node.

Get a custom RPC API endpoint

  1. Proceed to the GetBlock dashboard and create an account or log in.

  2. Click on the Get button to add a new RPC endpoint, and select the Ethereum mainnet.

  3. Pick the endpoint location. Currently, the Frankfurt and New York regions are available for a free node. Selecting the physically closest one is usually the best option.

  4. Click Get, and the endpoint is ready.

It’s now available via the access token URL and can be used to perform transactions, deploy smart contracts, and much more.

Without a subscription, you may have only 2 endpoints simultaneously. If you need more, consider deleting those you don’t need at the given moment.

Free node endpoints offer a generous 50,000 free compute units per day with a 5 RPS limit. It’s more than enough for single-person activities.


Modify an existing EVM network

Brave Wallet supports a wide range of EVM and non-EVM networks. Let’s modify an Ethereum account.

1

Go to Brave Wallet settings

In the upper right corner of the wallet interface, click on the three-dot options () button and select Settings. Here, a list of supported networks can be found.

2

Locate the network in the list

If the network of interest is already present, such as with Ethereum, click on the three-dot options () button right of Ethereum and then select Edit to open the account settings.

Look at the RPC URLs settings fro Ethereum: usually, a default Brave Wallet endpoint is present here. As every wallet user connects to it by default, it’s overloaded and insecure. That’s why a custom RPC URL is essential for Web3 activities.

3

Add a custom API URL to the network

Go to the GetBlock dashboard and copy the newly obtained Ethereum RPC access token. Add it under RPC URLs as shown below.

Go to the wallet, and try to perform some actions with the Ethereum account:

  • Check the balance

  • Connect to dApps

  • Execute smart contracts

  • Make a transaction

In the GetBlock dashboard, track the remaining compute unit balance.


Add a new EVM network

If a network of interest isn’t included in the network list, it can be added manually. Let’s add the Polygon zkEVM network, a zero-knowledge L2.

Brave Wallet is very convenient for managing blockchain networks, with hundreds of EVM protocols available. GetBlock almost certainly has a node endpoint for active and popular ones.

If you genuinely believe that a network is unfairly missing, you may contact us and suggest it.

1

Search the network ID in Brave settings

Return to the Wallet Networks menu. Instead of selecting existing networks, click on the Add button. Start typing “polygon zkevm” to locate the network quickly.

After clicking on it, Brave fills all required fields automatically.

2

Get a network’s RPC URL at GetBlock

Return to the GetBlock dashboard, click Get again, and select Polygon zkEVM mainnet this time. Currently, only the Frankfurt region is available for zkEVM nodes.

Voila—the free and highly secure Polygon zkEVM node endpoint is ready.

3

Add a custom API URL to the new network

Copy the access token and go to the Brave settings. Add the new RPC URLs field and paste the access token.

It’s recommended to assign a custom account name, such as “Polygon zkEVM GetBlock,” to distinguish the dedicated account.

Then, return to the wallet and locate a new Polygon zkEVM account with the ETH native token and a custom name.

As with GetBlock’s Ethereum node, track the compute units usage at the GetBlock dashboard.

Dedicated nodes: Manage & extend subscriptions

Track and extend your dedicated node subscriptions on GetBlock.

This page explains how to manage your dedicated node subscriptions, including checking their status and extending the service duration—all from your user account.

Update on Dedicated Node pricing

GetBlock is introducing an advanced Dedicated Node service with updated pricing:

  • Existing users can extend their subscriptions at the old pricing until May 1, 2025.

  • New users can purchase new subscriptions at the current pricing until the service upgrade begins on March 25, 2025.


Tracking subscription status

You can monitor the status of your dedicated node subscriptions in three different ways.

1. Dashboard

The widget on your dashboard alerts you when your subscription is about to expire or is in a grace period. Click the widget to open a pop-up that lists all nodes that require renewal.

2. Plan manager

The Manage Plans section can be found by navigating to the “Pricing” option in the left-side menu. You'll see three tabs: click on “Manage Plans” to view all your subscriptions in one place.

3. "My endpoints" list

Each endpoint in “My endpoints” list now shows its current subscription status.


Subscription statuses

Status
Dashboard View
Manage Plans View

Changing the subscription period

You can modify your subscription period at any time if you’re on a one-time payment plan paid with:

  • Cryptocurrency;

  • Credit card.

Note on Recurring Payments

Users cannot manually extend a plan when using recurring payments. These subscriptions renew automatically at the end of a billing cycle.

However, if a payment fails (e.g., due to an expired card or insufficient funds), your subscription will enter a 3-day grace period. During this time, your node remains active, allowing you to update your payment details and retry the renewal before the service is interrupted.

Available options

You can extend your subscription to one of the following periods:

  • 1 month

  • 6 months

  • 12 months


How to extend your Dedicated Node plan

There are three ways to extend your subscription.

Option 1: The Dedicated Nodes dashboard

  1. Go to Dedicated Nodes tab from your dashboard. Look for the subscription alert widget.

  1. Click the widget to see a list of nodes needing renewal and choose one. A pop-up will show extension options (1, 6, or 12 months).

  1. Choose a new period and review details. Proceed to checkout.

  2. Complete the payment by following the instructions provided.

  3. Check the "Payment History" under the Pricing tab to track the progress.

Video guide

For fiat (credit card) payments:

  • Payments are processed via Paddle.

  • VAT may apply depending on the user's location.

  • The extension is applied instantly once the payment is completed.

For crypto payments:

  • Payments are processed via NOWPayments.

  • Make sure to account for network fees to avoid payment issues.

  • The extension is applied after blockchain confirmation, which may take a few minutes.

Option 2: From “My Endpoints” list

  1. Navigate to your main dashboard and switch to the Dedicated Nodes tab.

  2. Choose a node to extend. Expand the node’s details and click "Extend" to begin the process.

  3. Follow the pop-up instructions to select the new subscription period and finalize the process.

Option 3: Via the "Manage Plans" menu

  1. Navigate to Pricing > Manage Plans.

  2. Review all subscriptions. Subscriptions nearing expiration are listed at the top.

  3. Follow the same steps: Select your node, choose a new period, and confirm your payment.


How to keep your Dedicated Node running smoothly

If you face any issues with renewal or extensions, feel free to reach out to GetBlock support—we’re happy to assist.

GetBlock's free RPC node plan limits
Starter plan limits for Shared RPC nodes by GetBlock
RPC node with higher-limit access
GetBlock's Enterprise plan with custom usage limit settings
Dedicated node for scalable and unlimited RPC node access
Downloading Brave browser with integrated wallet
How to start using a Brave browser wallet
Creating Ethereum access token in GetBlock
Getting an ETH RPC URL for Brave wallet
Exploring Brave Wallet network accounts
Adding GetBlock Ethereum endpoint to Brave Wallet
Adding Polygon to Brave
Creating zkEVM access token in GetBlock
Adding GetBlock zkEVM endpoint to Brave Wallet’
New Polygon zkEVM account with GetBlock endpoint

Overview

Getting Started with GetBlock

To get started, follow these steps:

  1. Sign up: Create an account to access your Access Token.

  2. Generate access token: Navigate to the dashboard, and generate your first access token for API authentication.

  3. Choose the blockchain name and type: Select the blockchain network you want to interact with, set up testnet/mainnet, and choose the interface you’re going to use.

  4. Send your first request:

import requests
url = "https://go.getblock.io/<ACCESS-TOKEN>/"
headers = { "Content-Type": "application/json" }
payload = { "jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": "getblock.io" }
response = requests.post(url, headers=headers, json=payload)
print(response.json())

Key Features of GetBlock

GetBlock is offering one of the most comprehensive APIs toolkits in the segment supporting hundreds of dApps with fast and reliable connection to blockchain nodes.

50+ blockchains in store

  • Seamless connection to full and archive nodes

  • Shared and dedicated nodes: Tailored for your dApp’s needs.

  • Programmable and non-programmable blockchains

  • L1 and L2 protocols

  • EVM and non-EVM networks

See full list: https://getblock.io/nodes/ All mainstream RPC interfaces

  • WebSockets

  • JSON RPC

  • GraphQL

  • REST API

  • And more to come

Add them in Lego-like manner: https://account.getblock.io/

Industry-leading suite of add-ons and ready-made APIs

  • DAS API

  • Firehose

  • Blockbook

  • Yellowstone Geyser

Need more? Don’t hesitate to contact sales: https://getblock.io/contact/

Examples for Console REST API Requests

cURL

Most *nix-based systems come with cURL pre-installed. cURL is a command-line tool and library for transferring data with URLs. To check if cURL is installed, run the following command:

curl -h

Example of requesting the latest block number using the GetBlock API and cURL:

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
}'

Python

To run Python examples, ensure Python is installed along with the requests package. You can install the package using the following command:

python -m pip install requests

Example:

import requests
url = "https://go.getblock.io/<ACCESS-TOKEN>/"
headers = { "Content-Type": "application/json" }
payload = { "jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": "getblock.io" }
response = requests.post(url, headers=headers, json=payload)
print(response.json())

JavaScript

For JavaScript examples, you'll need Node.js version 18 or later. Follow the official documentation to install the latest stable version globally. Verify your installation by running:

node -v

Ruby

To execute Ruby examples, install Ruby on your machine. Refer to the official installation guide for details. Confirm installation by running:

ruby -v

Supported networks

We provide APIs for a wide range of networks, including:

Aptos (APT)

Arbitrum (ARB)

Avalanche (AVAX)

Bitcoin Cash (BCH)

BNB Smart Chain (BSC)

Bitcoin-SV (BSV)

Bitcoin (BTC)

Bitcoin Gold (BTG)

Cronos (CRO)

Dash (DASH)

DigiByte (DGB)

Dogeсoin (DOGE)

Polkadot (DOT)

Ethereum Classic (ETC)

Ethereum (ETH)

Fantom (FTM)

Fuse.io (FUSE)

Moonbeam (GLMR)

Gnosis Chain (GNO)

Huobi ECO Chain (HECO)

KuCoin Community Chain (KCC)

Kusama (KSM)

Polygon (MATIC)

Moonriver (MOVR)

Near Protocol (NEAR)

Harmony (ONE)

Ontology (ONT)

Optimism (OP)

Rootstock (RSK)

Solana (SOL)

Theta (THETA)

TON (TON)

Tron (TRX)

NEM (XEM)

Monero (XMR)

ZCash (ZEC)

)

)

(One-Time Payment)

(Recurring /One-Time)

tracking the status of dedicated blockchain node subscriptions from GetBlock account
How to manage dedicated node plans and subsciriptions from GetBlock's user account
Checking the status of dedicated node subscriptions from the main GetBlock user dashboard
How to manage node subscriptions from the GetBlock dashboard
How to extend dedicated node plan using GetBlock
Managing RPC node subscriptions from the main dashboard's endpoints list
Flexible dedicated RPC node plan subscription

What counts as a CU

Learn what Compute Units (CUs) are and how GetBlock calculates them to track and price API calls

In our Shared Node plans, we use CU-based pricing. CUs, Compute Units, is a way to measure the computational resources that each API request consumes.

Request vs CU

Requests are the raw number of calls (e.g., an RPC method call) you make to the node, while Compute Units show how much computing power each call uses.

Instead of charging a fixed fee for every call, GetBlock calculates the “cost” of processing a request based on the actual computational work involved – such as CPU & memory usage, and disk I/O.

Here's how it works:

  • Different shared node plans include different allocations of Compute Units (CUs).

  • Each API call deducts an amount based on the resources it consumes.

  • Users can track their remaining CUs in real time on the dashboard.

This model ensures costs are aligned with actual infrastructure usage.

Learn More

  • CU and rate limits — Check how many CUs are included in each plan.


How CUs are calculated

Every API call "spends" a number of Compute Units. The total value is determined by two main factors:

  1. A base CU cost (chain multiplier) reflecting the network's resource intensity.

  2. A method-specific multiplier which varies by API method.

The total Compute Units for an API call are calculated using the following formula:

Total CU=Chain Multiplier×Method Multiplier\text{Total CU} = \text{Chain Multiplier} \times \text{Method Multiplier}Total CU=Chain Multiplier×Method Multiplier

1. Chain-based multipliers

Not all blockchains are built or operate the same way. GetBlock accounts for inherent differences between networks by assigning chain multipliers based on factors such as:

  • Node infrastructure costs;

  • Protocol complexity and the size of the blockchain data;

  • Operational overhead.

Here’s how blockchains are grouped based on their average resource intensity:

Chains
Multiplier
Explanation

Algorand, Bitcoin, Bitcoin Cash, Dash, Dogecoin, Ethereum Classic, Kusama, Litecoin, Near, OKB, Polkadot, RSK, Scroll, Shiba Inu, Sonic, Syscoin, Telos, Zcash, others

10

These chains typically have low write/read complexity and use fewer resources per request

Aptos, Arbitrum, Avalanche, BNB Smart Chain, Base, Blast, Cardano, Cosmos, Cronos, Ethereum, Filecoin, Flow, Gnosis, Harmony, Kaia, Linea, Moonbeam, OKT, Optimism, Polygon, Polygon zkEVM, StarkNet, Tezos, Tron, XRP, opBNB, zkCronos, zkSync

20

Requests on these blockchains are more resource-intensive

Solana, Sui, TON

50

These chains require significantly more computational resources per request


2. Method-specific multipliers

Different API methods put different loads on backend nodes. For example:

  • eth_blockNumber is lightweight since it just returns the latest block number.

  • trace_replayBlockTransactions executes a full replay of all txs in a block and can be extremely heavy.

Therefore, individual blockchain methods have their own multipliers, depending on how computationally demanding each particular operation is.

The example table below shows some Ethereum blockchain methods with their associated multipliers and total CU calculated.

Ethereum RPC Method
Method Multiplier
Base Chain Multiplier
Total CU

eth_blockNumber

1

20

20

eth_getTransactionByHash

1

20

20

debug_traceTransaction

2

20

40

debug_traceBlock

2

20

40

trace_call

2

20

40

trace_transaction

2

20

40

txpool_status

2

20

40

trace_replayTransaction

4

20

80

Some "heavy" calls (e.g. archive calls) may have special adjustments or additional weighting to more accurately reflect their extra computational demands

Calculation example for debug_traceTransaction: 20 (Ethereum base multiplier)×2 (method multiplier)=40 CU20\ (\text{Ethereum base multiplier}) \times 2\ (\text{method multiplier}) = \mathbf{40\ CU}20 (Ethereum base multiplier)×2 (method multiplier)=40 CU

For full details on all methods—including exact multipliers and total CU values for each protocol—please refer to our Compute Units page.


Why we use the CU system at GetBlock?

🛡️ It helps keep infrastructure stable

Tracking and pricing requests based on how “heavy” they are:

  • Discourages abuse (like hammering archive calls) and protects node performance & uptime.

  • Makes it easier for GetBlock to scale and optimize resources behind the scenes.

💰 Compute Units provide a fair, usage-based billing model

A simple per-request pricing model would charge the same for all methods, which isn’t scalable or logical. The CU model fixes this imbalance.

⚙️ To help developers build smarter

Because each API call has a clear CU cost, you can spot inefficiencies quickly (e.g. which parts of your dApp consume the most), making it easier to fine-tune performance.

Team accounts setup

Set up your team account on GetBlock, invite and onboard team members with this step-by-step guide.

A team account is a shared workspace where multiple users can collaborate. This setup is ideal for companies and teams using GetBlock services.

Key benefits:

  • Organized collaboration: Work together on company resources.

  • Enhanced security: Role-based access limits each member to only the features they need.

  • Efficient management: Easily switch between personal and team accounts.

A team account user is a regular GetBlock user. When invited to a team, they can work on company resources, manage service plans or team settings—provided the corresponding permissions are granted.


Creating a team account on GetBlock

This part covers a step-by-step guide to setting up your team workspace.

  1. Sign in to your GetBlock account. If you don’t have a user account yet, create one following .

  2. Click on the profile icon in the bottom-left corner of the sidebar. Select "Create new team" from the dropdown menu.

  1. A popup window will appear. Assign a team name and click the "Create team" button.

  1. Once the space is created, navigate to Account Settings > Team to manage team settings or add teammates.


Adding teammates

The creator of the team account controls who gets invited and manages user roles.

Limits on GetBlock team accounts:

  • Each user can create up to 3 teams.

  • A user can be invited to an unlimited number of teams.

  • One team can have a maximum of 30 users.

You can invite team members to join your team account using either their email address or GetBlock User ID.

  • If the teammate has a GetBlock account: You can invite them using their ID. Since they are already registered, they just need to accept the invitation.

  • If the teammate is not registered on GetBlock: Invite them via email so they can first create an account before joining the team.

  1. Go to Account Settings > Team.

  2. Click "Add team member" in the top-right corner.

  3. Request the User ID from the teammate (they can find it under Account Settings > General).

  4. Enter the name, User ID, and send the invite.

The user gets a notification and can accept the invite.

  1. Go to Account Settings > My Team.

  2. Click "Add team member" in the top-right corner.

  3. Enter the teammate's name and email address.

  4. Send the invite.

The invite link is valid for 30 minutes. If it expires, please resend an invitation.

The user will receive an invitation email with a link to sign up and join the team.

A team member is marked as when they have successfully accepted the invitation and joined the team.

If the invitation has been sent but not yet accepted, their status remains .


Managing roles & permissions

Once the user has joined, the team owner or an admin can update their permissions:

  1. Go to My Team in Account Settings.

  2. Click the three-dot menu (⋮) next to a team member.

  3. Select "Edit access level".

  4. Assign permissions:

    • Endpoints: Create and manage node endpoints, access tokens, and view statistics.

    • Subscriptions & payments: Handle payments and plans.

    • Admin: Includes all the above permissions, plus the access to manage team settings and member roles.

  5. Save changes.

If a Member has no permissions assigned, they will have View-Only access by default.

Roles-based permissions

This table provides a breakdown of actions team account users can perform based on their role.

Action
Owner
Admin
Member

If you need someone to help manage other team members, be sure to give them Admin status.


Revoking team access

To remove a user from your team account:

  1. Navigate to Team in the Account Settings.

  2. Click the three-dot menu (⋮) next to the team member name.

  3. Select "Remove" from the dropdown menu.

When removed from a team, users lose access to that team workspace but keep their personal account.


How to join a team account

If you’ve been invited to a team on GetBlock, follow these steps to accept the invitation and join the team.

When you have a pending team invitation, a notification badge appears on your account icon .

  1. Click your account icon to view an invitation.

  2. Click "Accept" if you're ready to join.

  1. After accepting the invitation, you are given access to your team’s workspace. Your will be determined by the team owner or admin.

When someone who is not yet registered on GetBlock receives a team invitation, they must first sign up for an account:

  1. Check your inbox for an email invitation from GetBlock.

  2. Clicking the invitation link redirects you to the sign-up page.

  3. Create a secure password for your new account.

  4. Check the boxes to agree to the Terms of Service and Privacy Policy and complete the registration.

The invite link is valid for 30 minutes. If it expires, ask the team owner or admin to send a new invitation.

Once registered, you’ll have your personal GetBlock account. Additionally, you gain access to the team’s dashboard and resources based on given by the team owner or admin.

Next steps: Explore GetBlock

Now that you’ve joined a team, here are a few useful resources to help you get started:

  • – Learn more about GetBlock.

  • – How to create and manage node endpoints.

  • – Understanding plans and payments.


Switching between personal & team accounts

A team user does not lose access to their personal account. They can still use and manage their own endpoints and subscriptions.

To switch between your personal account and any team accounts you are part of:

  • Click the account icon in the left panel.

  • A dropdown will show all teams & personal accounts.

  • Switch between them as needed.

The teams list is sorted by recent activity, with the most recently accessed accounts at the top.


Best practices for team security

  • Regularly review and audit permissions. Revoke access for users who are no longer active.

  • Grant admin privileges only to trusted team members.

  • Give Members only the necessary permissions (e.g., endpoints access or subscriptions management).

  • Never share login credentials—use team accounts instead.


Need help?

If you run into any issues or have questions, please check out our or visit our . You can also use the Help button within your GetBlock dashboard to access support or submit a request.

Create & manage access tokens

✅

✅

Manage subscriptions & payments

✅

✅

Add & remove team members

✅

✅

❌

Edit access levels

✅

✅

❌

Promote to Admin

✅

❌

❌

this guide
role and permissions
permissions
Getting Started
Managing Endpoints
Plans & Limits
FAQ
Contact Center
How to create a team account on GetBlock
Creating an enterprise account with RPC node provider GetBlock
Collaboration feature for GetBlock enterprise users
Adding users to the team account on GetBlock
Inviting teammates to GetBlock's team account
Managing team account user permissions and roles
Instructions to remove a team user from the GetBlock team account
How to join a team account on GetBlock
Viewing permissions for team account users
GetBlock sign-up page
Using GetBlock's personal and team accounts
How to check your CU balance in GetBlock accounts

/v1/transactions/by_version/{version} - Aptos

Example code for the /v1/transactions/by_version/{version} json-rpc method. Сomplete guide on how to use /v1/transactions/by_version/{version} json-rpc in GetBlock.io Web3 documentation.

Parameters

-

Request

Response

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/transactions/by_version/147811396' \
--header 'Content-Type: application/json'
{
    "accumulator_root_hash": "0x966dd8c623b3063a58c46bf64fbd95d06746779aa44188fd7dadd4602b25acaf",
    "changes": [
        {
            "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
            "data": {
                "data": {
                    "coin": {
                        "value": "4948300"
                    },
                    "deposit_events": {
                        "counter": "1",
                        "guid": {
                            "id": {
                                "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                "creation_num": "2"
                            }
                        }
                    },
                    "frozen": false,
                    "withdraw_events": {
                        "counter": "0",
                        "guid": {
                            "id": {
                                "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                "creation_num": "3"
                            }
                        }
                    }
                },
                "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
            },
            "state_key_hash": "0x3cec7fe8530a6688d69c124ed977319e22d8a8a74acd6b95eaa568c7726e7a74",
            "type": "write_resource"
        },
        {
            "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
            "data": {
                "data": {
                    "coin": {
                        "value": "50000"
                    },
                    "deposit_events": {
                        "counter": "1",
                        "guid": {
                            "id": {
                                "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                "creation_num": "4"
                            }
                        }
                    },
                    "frozen": false,
                    "withdraw_events": {
                        "counter": "0",
                        "guid": {
                            "id": {
                                "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                "creation_num": "5"
                            }
                        }
                    }
                },
                "type": "0x1::coin::CoinStore<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
            },
            "state_key_hash": "0xb97e0a59827e06be4f337a74db01a6f044ca059fb389f702a140d00378fba6de",
            "type": "write_resource"
        },
        {
            "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
            "data": {
                "data": {
                    "authentication_key": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "coin_register_events": {
                        "counter": "2",
                        "guid": {
                            "id": {
                                "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                "creation_num": "0"
                            }
                        }
                    },
                    "guid_creation_num": "6",
                    "key_rotation_events": {
                        "counter": "0",
                        "guid": {
                            "id": {
                                "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                "creation_num": "1"
                            }
                        }
                    },
                    "rotation_capability_offer": {
                        "for": {
                            "vec": []
                        }
                    },
                    "sequence_number": "1",
                    "signer_capability_offer": {
                        "for": {
                            "vec": []
                        }
                    }
                },
                "type": "0x1::account::Account"
            },
            "state_key_hash": "0x65a1189e97f8ec70eafc8ece99b25f79ed0e230295c5d7bf1f46b2fa55093491",
            "type": "write_resource"
        },
        {
            "address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
            "data": {
                "data": {
                    "decimals": 6,
                    "name": "Tether USD",
                    "supply": {
                        "vec": [
                            {
                                "aggregator": {
                                    "vec": []
                                },
                                "integer": {
                                    "vec": [
                                        {
                                            "limit": "340282366920938463463374607431768211455",
                                            "value": "6940588922528"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "symbol": "USDT"
                },
                "type": "0x1::coin::CoinInfo<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
            },
            "state_key_hash": "0x18a12ea319b7376eb20ec94a19057bd9295ed5f4c21719f759b01a0a7b53f546",
            "type": "write_resource"
        },
        {
            "address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
            "data": {
                "data": {
                    "claim_events": {
                        "counter": "186073",
                        "guid": {
                            "id": {
                                "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                "creation_num": "6"
                            }
                        }
                    },
                    "receive_events": {
                        "counter": "889351",
                        "guid": {
                            "id": {
                                "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                "creation_num": "5"
                            }
                        }
                    },
                    "send_events": {
                        "counter": "622265",
                        "guid": {
                            "id": {
                                "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                "creation_num": "4"
                            }
                        }
                    }
                },
                "type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::EventStore"
            },
            "state_key_hash": "0xd4044c0f6183e29c9b0eac374056cee14aa5c239b811be978df8e9454d58cc94",
            "type": "write_resource"
        },
        {
            "data": null,
            "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
            "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
            "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
            "type": "write_table_item",
            "value": "0x70618c8b6a2770010000000000000000"
        },
        {
            "data": null,
            "handle": "0x2e46d98566716dc078ca858162169242fd0e45d7f2f8fb4799767c17e0af99bd",
            "key": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
            "state_key_hash": "0x4696d45e724c41fee140ae0f15dcbe89107e5cd6723265e88efcb4bc1e978b2d",
            "type": "delete_table_item"
        }
    ],
    "event_root_hash": "0x239bf6aedae7d54a532d2fbd13d2bb2228d9dd51135167fa2e8fc9b13f721c1a",
    "events": [
        {
            "data": {
                "type_info": {
                    "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                    "module_name": "0x6173736574",
                    "struct_name": "0x55534454"
                }
            },
            "guid": {
                "account_address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                "creation_number": "0"
            },
            "sequence_number": "1",
            "type": "0x1::account::CoinRegisterEvent"
        },
        {
            "data": {
                "amount": "50000"
            },
            "guid": {
                "account_address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                "creation_number": "4"
            },
            "sequence_number": "0",
            "type": "0x1::coin::DepositEvent"
        },
        {
            "data": {
                "amount_ld": "50000",
                "coin_type": {
                    "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                    "module_name": "0x6173736574",
                    "struct_name": "0x55534454"
                },
                "receiver": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3"
            },
            "guid": {
                "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                "creation_number": "6"
            },
            "sequence_number": "186072",
            "type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::ClaimEvent"
        }
    ],
    "expiration_timestamp_secs": "1685063040",
    "gas_unit_price": "100",
    "gas_used": "517",
    "hash": "0x434d4f991a70384d11f41ae1627089173f82f014db60c0c4b806afaf32384b49",
    "max_gas_amount": "1034",
    "payload": {
        "arguments": [],
        "function": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::claim_coin",
        "type": "entry_function_payload",
        "type_arguments": [
            "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT"
        ]
    },
    "sender": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
    "sequence_number": "0",
    "signature": {
        "public_key": "0x194e8ddc4fe79daa79f5e3de0e6ee499df8a331df28bb512e9a056871e2b9b45",
        "signature": "0x34e0a9bf2598698f46ac5b9b1f93deb5b3c3b6ccf417c844894629d6ec0a7e4ab77504998bb883a2ba1ea3d77d6ecf4fde3167c247861086d80c7bbdd892b705",
        "type": "ed25519_signature"
    },
    "state_change_hash": "0xe1e6651f1f5b03fcd76db010b7d229e1468aadc518764f5ffce2d7bbc1ae4ed3",
    "state_checkpoint_hash": null,
    "success": true,
    "timestamp": "1685063032234522",
    "type": "user_transaction",
    "version": "147811396",
    "vm_status": "Executed successfully"
}
How to extend your node subscription with a card payment

/v1/transactions - Aptos

Example code for the /v1/transactions json-rpc method. Сomplete guide on how to use /v1/transactions json-rpc in GetBlock.io Web3 documentation.

Parameters

limit -

Maximum number of transactions to retrieve. Gets default page size if not provided.

start -

Optional starting sequence number of events. Defaults to the latest transactions.

Request

 curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/transactions?limit=3' \
--header 'Content-Type: application/json'

Response

[
    {
        "accumulator_root_hash": "0xdf24383f1795b508008f080f598d7b0b3be5bf49e760ded6da8c88d86c33ec9d",
        "changes": [
            {
                "address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                "data": {
                    "data": {
                        "oracle_events": {
                            "counter": "1064682",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "15"
                                }
                            }
                        },
                        "relayer_events": {
                            "counter": "1064670",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "16"
                                }
                            }
                        }
                    },
                    "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::EventStore"
                },
                "state_key_hash": "0x7d72ed827ba7631767ca4d5b692e052bdfdc02b962acd9aa702639b297d5d05a",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "coin": {
                            "value": "42470516255"
                        },
                        "deposit_events": {
                            "counter": "2",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "2"
                                }
                            }
                        },
                        "frozen": false,
                        "withdraw_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "3"
                                }
                            }
                        }
                    },
                    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                },
                "state_key_hash": "0xb2fcff321d24337870b8afa2197359fcb527d2529e51398a0b7165649f2a0801",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "authentication_key": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "coin_register_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "0"
                                }
                            }
                        },
                        "guid_creation_num": "4",
                        "key_rotation_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "1"
                                }
                            }
                        },
                        "rotation_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        },
                        "sequence_number": "497661",
                        "signer_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        }
                    },
                    "type": "0x1::account::Account"
                },
                "state_key_hash": "0x0d90a983bdbbfccd6140bc87ccaaf610d4075289145ce60a4cf17f3223574ecd",
                "type": "write_resource"
            },
            {
                "data": null,
                "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                "type": "write_table_item",
                "value": "0x47f6d099db9770010000000000000000"
            },
            {
                "data": null,
                "handle": "0xcc6c608b81fcf6d6cc0b3e9c07efb69f897bf80605e8279fc7e932fa7c12130d",
                "key": "0x2042678e0b5a3409e6cb67ddb626e61b3cbc09c65bd8636c3a92554446e883a859",
                "state_key_hash": "0x2574694216b5a51a74960797f1d3c1680ae5c0582a9217c96bfe116c1396aff3",
                "type": "write_table_item",
                "value": "0x01"
            },
            {
                "data": null,
                "handle": "0xdcd5cc59d7b3d2b975bf7fcd73faa1c76ac5d3ec7479c61316af3a03ea5db3f5",
                "key": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b200c8a3237d64bf11673b2d1ef6e7d0e013e1d61ece6e606c7d342a8493b78baff",
                "state_key_hash": "0xc726f12cfcb45b2f9561685cb3430eb3bcef7a360e59b27de351efae689a0347",
                "type": "write_table_item",
                "value": "0x1400000000000000"
            }
        ],
        "event_root_hash": "0x259f6232cd763fa77900080ee376b20862aa7b6416e035a9ea813b96e41d5626",
        "events": [
            {
                "data": {
                    "confirmations": "20",
                    "hash": "0x0c8a3237d64bf11673b2d1ef6e7d0e013e1d61ece6e606c7d342a8493b78baff",
                    "signer": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b"
                },
                "guid": {
                    "account_address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                    "creation_number": "15"
                },
                "sequence_number": "1064681",
                "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::SignerEvent"
            }
        ],
        "expiration_timestamp_secs": "1685697287",
        "gas_unit_price": "120",
        "gas_used": "939",
        "hash": "0x6041a16d053ed12cb5dd185d4443d1ee79a302bfa2a05b2756156ca43140b78f",
        "max_gas_amount": "200000",
        "payload": {
            "arguments": [
                "0x0c8a3237d64bf11673b2d1ef6e7d0e013e1d61ece6e606c7d342a8493b78baff",
                "20",
                "1685717681",
                "0x945c919bc348e094057f7a9f17dcb5ad17b87c0dc079120c9910d0ad68bd55274d3016421f3521fcb2896dcff7cdfc1e505e52910f6c6a37a97b9ef17d3ec5c9011510a8e2fa099c25b0917b40ca88eaccf3fec37c91d8df43afe0e7733a600c0b6bf90a2a277a0e228188bac85659bec32be770ccb6c2c2db2bb765cd63a367be00"
            ],
            "function": "0xc2846ea05319c339b3b52186ceae40b43d4e9cf6c7350336c3eb0b351d9394eb::oracle::mso_propose",
            "type": "entry_function_payload",
            "type_arguments": []
        },
        "sender": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
        "sequence_number": "497660",
        "signature": {
            "public_key": "0xf22c5aeb53fc98ec8196d88df86df952a616108eabdbb993f14805660a8b1831",
            "signature": "0x605835fdb308777a70c7cff179562dd7d0857cfd3b44395eb41741b99ad839064b9b449b3e88bb4084a2a7c21b2d1e245c8099199b6b7a8d19c5de688105a301",
            "type": "ed25519_signature"
        },
        "state_change_hash": "0x157737081d9b412f3cb6d90329877187445c73a948892c1289545f5f0d065537",
        "state_checkpoint_hash": null,
        "success": true,
        "timestamp": "1685696086904097",
        "type": "user_transaction",
        "version": "152087596",
        "vm_status": "Executed successfully"
    },
    {
        "accumulator_root_hash": "0xc74dca60ff612c6df1e3b208efd04091076e94290e9095c9fb4d458729ec6191",
        "changes": [
            {
                "address": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                "data": {
                    "data": {
                        "coin": {
                            "value": "30309000"
                        },
                        "deposit_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                                    "creation_num": "2"
                                }
                            }
                        },
                        "frozen": false,
                        "withdraw_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                                    "creation_num": "3"
                                }
                            }
                        }
                    },
                    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                },
                "state_key_hash": "0xf42cf3525744edad5cc7033151f77da83032c9a32ab6a70fd33de047567f8c5a",
                "type": "write_resource"
            },
            {
                "address": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                "data": {
                    "data": {
                        "coin": {
                            "value": "0"
                        },
                        "deposit_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                                    "creation_num": "4"
                                }
                            }
                        },
                        "frozen": false,
                        "withdraw_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                                    "creation_num": "5"
                                }
                            }
                        }
                    },
                    "type": "0x1::coin::CoinStore<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
                },
                "state_key_hash": "0xb1b47826bbc7a3a8926e0c0a5bbe0a8879f68d3738901d763c92ed8a3e274d76",
                "type": "write_resource"
            },
            {
                "address": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                "data": {
                    "data": {
                        "authentication_key": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                        "coin_register_events": {
                            "counter": "2",
                            "guid": {
                                "id": {
                                    "addr": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                                    "creation_num": "0"
                                }
                            }
                        },
                        "guid_creation_num": "6",
                        "key_rotation_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                                    "creation_num": "1"
                                }
                            }
                        },
                        "rotation_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        },
                        "sequence_number": "1",
                        "signer_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        }
                    },
                    "type": "0x1::account::Account"
                },
                "state_key_hash": "0x5091560eb66eeceada158e6d22b3fb9bbaee41c8f597d7e804b04b2858e30634",
                "type": "write_resource"
            },
            {
                "data": null,
                "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                "type": "write_table_item",
                "value": "0x0f2fd099db9770010000000000000000"
            }
        ],
        "event_root_hash": "0xa9193bf47810af0e11dbd1021605d6fdcda9efc3f642d82b9b7223c5bcfec157",
        "events": [
            {
                "data": {
                    "type_info": {
                        "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                        "module_name": "0x6173736574",
                        "struct_name": "0x55534454"
                    }
                },
                "guid": {
                    "account_address": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
                    "creation_number": "0"
                },
                "sequence_number": "1",
                "type": "0x1::account::CoinRegisterEvent"
            }
        ],
        "expiration_timestamp_secs": "1685696094",
        "gas_unit_price": "100",
        "gas_used": "510",
        "hash": "0x70db890ab89190f01f537f7096b825ae20237c2d795e7cf44f60688b751867cf",
        "max_gas_amount": "686",
        "payload": {
            "arguments": [],
            "function": "0x1::managed_coin::register",
            "type": "entry_function_payload",
            "type_arguments": [
                "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT"
            ]
        },
        "sender": "0x235d28281f2e0508fb2cba59e06b0f33d120473d7103548df417f351e191cba5",
        "sequence_number": "0",
        "signature": {
            "public_key": "0x9c433e6d0e5da36ec81e03a2468a090fcf7ae942a5f12416c9d21bd1039c93fd",
            "signature": "0x3dfdf909b8d1c0c7ca8e61bda8fead489977fd3be77744ce0e76022fc2d7e201514172b366105077d50af124a69bda1a9f8d52542e72ad68dcf4dc3ef41a4a0a",
            "type": "ed25519_signature"
        },
        "state_change_hash": "0xc4ade06ffe7f6945724ec75a1a2737c67139fa33051b61a359683d16099a10c3",
        "state_checkpoint_hash": null,
        "success": true,
        "timestamp": "1685696086904097",
        "type": "user_transaction",
        "version": "152087597",
        "vm_status": "Executed successfully"
    },
    {
        "accumulator_root_hash": "0xd3c3ad85e2d6bca20bd5644811216c29721a99a07c6677b2d0e12c9d313083a3",
        "changes": [],
        "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
        "gas_used": "0",
        "hash": "0x2d6fa8e84d09299cdfba10823cee0bed24b8c9f9a6f678db450e3fd99a2aef7f",
        "state_change_hash": "0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6",
        "state_checkpoint_hash": "0x03be61d0ff5fed1c0ed33d8d8372c94c1dc8dd5b848e806ab5aa36fcb4d49cdb",
        "success": true,
        "timestamp": "1685696086904097",
        "type": "state_checkpoint_transaction",
        "version": "152087598",
        "vm_status": "Executed successfully"
    }
]

Quickstart guide

Follow these steps to activate the Solana Yellowstone gRPC add-on on GetBlock

GetBlock offers SOL nodes with the Solana Geyser gRPC plugin, so you can start using it immediately, without any node setup and maintenance — simply enable the add-on and point your gRPC client at our endpoints.

Prerequisites

  • A GetBlock account with a Dedicated Solana Node subscription

  • Your gRPC endpoint URL with access token (found in GetBlock dashboard)

Enabling the Solana gRPC add-on on GetBlock

The Yellowstone gRPC add-on to Solana currently requires a Dedicated Node subscription on GetBlock. Here’s how to set it up with gRPC API:

  1. Sign up / log in: Create an account at GetBlock.io or log in to your existing account.

  2. Deploy a dedicated Solana node:

    1. Go to your user dashboard, switch the tab to “Dedicated nodes”, and scroll down to “My endpoints”

    2. Choose Solana under “Protocol”, set the network to mainnet.

    3. Click on Get.

  1. Enable the gRPC add-on: In Step 3 (Select API and Add‑ons) of your node setup, check Yellowstone gRPC under Add‑ons.

All Dedicated Node plan subscribers receive the Yellowstone gRPC API at no extra cost together with their Solana node.

Once your node is live, you’ll be able to create gRPC endpoints to begin using the add-on.

Get your gRPC endpoint

Return to My endpoints in your Dedicated node dashboard and generate a gRPC Access Token.

The dashboard will generate your new HTTPS‐style gRPC endpoint URL.

Endpoint & authentication

The endpoint URL will be used by your gRPC client to authenticate and interact with the Solana network. Regional domain determines which data center you’re talking to (Europe, US, or Asia).

Your node’s region is locked in when you deploy it, during the setup flow. Once the node is provisioned in that region, all your endpoint URLs will correspond to the location you selected.

Example endpoint URLs:

// Europe (Frankfurt)
https://go.getblock.io/<YOUR_ACCESS_TOKEN>/

// USA (New York)
https://go.getblock.us/<YOUR_ACCESS_TOKEN>/

// Asia (Singapore)
https://go.getblock.asia/<YOUR_ACCESS_TOKEN>/

When establishing your gRPC channel, the authentication is handled via an access token:

ENDPOINT = 'https://go.getblock.io';
TOKEN = 'YOUR_GETBLOCK_ACCESS_TOKEN';

GetBlock provides a single TLS endpoint – you don’t need to open or configure a different port for gRPC access.


Subscribing to Data Streams: Code examples

Dragon’s Mouth uses gRPC over HTTP/2 for all communication. Its message schemas are defined in Protocol Buffer (.proto) files, included in the Yellowstone repository, which specify all the RPC methods and data types.

The power of Yellowstone is real‑time streaming: open a single bi‑directional stream, send a SubscribeRequest with your filters, and get back a sequence of SubscribeUpdate messages.

Here are the main subscription targets:

Stream Field
Proto Name
What You Get

slots

slots: SlotsFilter

Slot numbers as they’re processed by leader

blocks

blocks: BlocksFilter

Block metadata (slot, parent slot, timestamp)

blocksMeta

blocksMeta: BlocksFilter

Block metadata + transaction counts + status

accounts

accounts: AccountsFilter

Account lamports, owner, executable flag, rent epoch

accountsDataSlice

accountsDataSlice: AccountsDataSliceFilter

Partial account data blobs

transactions

transactions: TransactionsFilter

Full transaction data + meta

All filters can be combined in the same request.

Developers can integrate Yellowstone streams using standard gRPC client libraries. Triton’s Yellowstone repository includes example clients in Rust, Python, Go, and TypeScript.

The part below will show common ways to initialize your connection to the GetBlock gRPC endpoint and open a bidirectional subscription stream (Subscribe) with filters.


1. CLI (using grpcurl)

A generic tool like grpcurl is perfect to just poke at the API and explore method calls:

# 1) List services and methods 
grpcurl \
  -insecure \
  -authority go.getblock.io \
  -H "x-access-token: YOUR_ACCESS_TOKEN" \
  go.getblock.io:443 \
  list

# 2) Subscribe to slots
grpcurl \
  -insecure \
  -authority go.getblock.io \
  -H "x-access-token: YOUR_ACCESS_TOKEN" \
  go.getblock.io:443 \
  geyser.Geyser/Subscribe \
  -d '{ "slots": { "slots": []{} } }'

2. Using a high‑level SDK (Node.js / TypeScript)

The triton-one/yellowstone-grpc repository is the official client toolkit for Solana’s Yellowstone (Geyser) gRPC API.

It wraps the raw gRPC calls in friendly methods, handles reconnects, back‑pressure, and includes TypeScript types out of the box – easiest to get started with minimal boilerplate.

Install the SDK:

npm install @triton-one/yellowstone-grpc
# or
yarn add @triton-one/yellowstone-grpc

Connect to the gRPC endpoint and subscribe to the stream:

import Client, {
 SubscribeRequest,
 CommitmentLevel,
 SubscribeResponse,
} from "@triton-one/yellowstone-grpc";


async function main() {
 // Initialize
 const ENDPOINT = "https://go.getblock.io/";
 const TOKEN    = "<YOUR_ACCESS_TOKEN>";
 const client   = new Client(ENDPOINT, TOKEN);


  // Open a bidirectional stream
 const stream = await client.subscribe();


 // send a request to start all streams
 stream.write({
   accounts:   ["YourWalletPubkeyHere"],
   programs:   [],
   commitment: CommitmentLevel.PROCESSED,
 } as SubscribeRequest);

 stream.on("data", (msg: SubscribeResponse) => {
   if (msg.accountChange) {
     console.log(
       `▶ Account ${msg.accountChange.pubkey} = ${msg.accountChange.lamports}`
     );
   }
 });


 // End the stream
 stream.end();
 await client.close();
}


main().catch(console.error);

3. Python, Rust, and Go streaming examples

Below are minimal examples using Triton's Yellowstone helper libraries to stream real-time data from Solana via gRPC.

Setup & run:

cd go-client
go mod tidy
go run main.go

Make sure the following dependencies are installed:

go get github.com/rpcpool/yellowstone-grpc/examples/golang@latest
go get google.golang.org/grpc@latest

Go Example (go-client/main.go):

import (
   "context"
   "fmt"
   "log"
   "time"

   ygrpc "github.com/rpcpool/yellowstone-grpc/examples/golang/pkg/grpc"
   pb "github.com/rpcpool/yellowstone-grpc/examples/golang/pkg/proto"
   "google.golang.org/grpc/metadata"
)

func main() {
   endpoint := "go.getblock.io:443"
   token := "YOUR_GETBLOCK_TOKEN"

   client, err := ygrpc.NewGrpcConnection(context.Background(), endpoint)
   if err != nil {
       log.Fatalf("Connection error: %v", err)
   }
   defer client.Close()

   ctx := metadata.AppendToOutgoingContext(context.Background(), "x-token", token)
   stream, err := client.Subscribe(ctx)
   if err != nil {
       log.Fatalf("Subscription error: %v", err)
   }


   req := &pb.SubscribeRequest{
       Accounts: map[string]*pb.SubscribeRequestFilterAccounts{
           "example": {
               Account: []string{"YOUR_WATCHED_ACCOUNT"},
           },
       },
       Commitment: pb.CommitmentLevel_CONFIRMED,
   }


   if err := stream.Send(req); err != nil {
       log.Fatalf("Send error: %v", err)
   }


   fmt.Println("Streaming...")
   for {
       res, err := stream.Recv()
       if err != nil {
           log.Printf("Stream error: %v", err)
           time.Sleep(time.Second)
           continue
       }
       fmt.Printf("Update at slot %d for %s\n", res.GetSlot(), res.GetAccount().GetAccount().GetPubkey())
   }
}

Make sure you clone the Yellowstone repo (for the examples.grpc module):

git clone https://github.com/rpcpool/yellowstone-grpc
export PYTHONPATH=$PYTHONPATH:$(pwd)/yellowstone-grpc/examples/python

Python Example (python-client/stream.py):

from examples.grpc import new_client
import time
from google.protobuf.json_format import MessageToDict

endpoint = "go.getblock.io:443"
token = "YOUR_GETBLOCK_TOKEN"

channel, client = new_client(endpoint, token)

req = {
   "accounts": {
       "example": {
           "account": ["YOUR_WATCHED_ACCOUNT"]
       }
   },
   "commitment": "CONFIRMED"
}

stream = client.Subscribe(iter([req]))

for update in stream:
   print("Update:", MessageToDict(update))
   time.sleep(0.5)

Setup:

cd rust-client
cargo build
cargo run

Ensure your Cargo.toml includes:

[dependencies]
yellowstone-grpc = { git = "https://github.com/rpcpool/yellowstone-grpc", branch = "main" }
tonic = "0.9"
tokio = { version = "1", features = ["full"] }

Rust Example (rust-client/src/main.rs):

use tonic::metadata::MetadataValue;
use yellowstone_grpc::client::{subscribe_with_token, SubscribeRequest};

#[tokio::main]
async fn main() {
   let endpoint = "https://go.getblock.io";
   let token = "YOUR_GETBLOCK_TOKEN";

   let mut stream = subscribe_with_token(endpoint, token, SubscribeRequest {
       accounts: Some({
           let mut m = std::collections::HashMap::new();
           m.insert("example".to_string(), vec!["YOUR_WATCHED_ACCOUNT".to_string()]);
           m
       }),
       commitment: Some("confirmed".into()),
       ..Default::default()
   }).await.expect("stream failed");

   println!("Streaming...");
   while let Some(Ok(update)) = stream.message().await {
       println!("Update: {:?}", update);
   }
}

Unary RPC methods

In addition to streaming subscriptions, the same gRPC interface also provides unary RPCs for quick, one-off queries:

  • getSlot: Returns the current slot number.

  • getBlockHeight: Retrieves the current block height.

  • getLatestBlockhash: Fetches the most recent blockhash.

  • isBlockhashValid: Checks whether a given blockhash is still valid.

  • getVersion: Returns version info for both the gRPC plugin and the connected Solana node

You can call these methods directly on the gRPC client without opening a streaming connection.


Yellowstone gRPC best practices

Before you start streaming data with the Yellowstone Geyser plugin, consider these recommendations:

  • Filtering is crucial: Always narrow your subscription to only the accounts or programs you need. Excessive or empty filters can overwhelm clients and hit rate limits.

  • Combine with JSON‑RPC: Use gRPC for real‑time streaming. Continue to use GetBlock’s JSON‑RPC Solana endpoints for on‑demand calls like getBlock, sendTransaction, or historical queries.

  • Keeping your stream alive: gRPC streams may time out if idle. The Yellowstone plugin can handle keep-alive pings. In your SubscribeRequest, you can set ping: true to respond to server pings (or send a minimal ping message periodically) to keep the stream alive.

  • Selecting the right commitment levels: Choose processed, confirmed, or finalized in your SubscribeRequest to balance between lowest latency (processed) and highest certainty (finalized). For most real‑time use cases (dashboards, bots), use processed to see intra‑slot updates.

About commitment levels

In Solana’s commitment hierarchy, you have processed, confirmed, and finalized:

  • Finalized: After full consensus & finalized in the ledger.

  • Confirmed: Once a supermajority of validators have voted.

  • Processed: Means the validator has received and executed the transaction, but it may not yet have enough votes to be considered confirmed/finalized – (“intra-slot”).

Streaming at “processed” gives you every transaction and account write the moment the leader executes it, well before it appears in a confirmed block.


With these examples and notes, you should be able to jump right into using GetBlock’s Yellowstone gRPC API in the language of your choice.

💬 Need help?

Check out the Yellowstone gRPC docs or reach out via GetBlock support.

Deploying a private Solana node with GetBlock RPC provider
Configuring a dedicated SOL node on GetBlock

/v1/accounts/{account_hash}/transactions - Aptos

Example code for the /v1/accounts/{account_hash}/transactions json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/transactions json-rpc in GetBlock.io Web3 documentation.

Parameters

limit -

Maximum number of transactions to retrieve. Gets default page size if not provided.

start -

Optional starting sequence number of events. Defaults to the most recent transactions.

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/transactions?limit=3' \
--header 'Content-Type: application/json'

Response

[
    {
        "accumulator_root_hash": "0x7e64a9c9eab0e15726269016cb19a355cddf52f2b4cde5cb3cc208a39c9499df",
        "changes": [
            {
                "address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                "data": {
                    "data": {
                        "oracle_events": {
                            "counter": "1064680",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "15"
                                }
                            }
                        },
                        "relayer_events": {
                            "counter": "1064669",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "16"
                                }
                            }
                        }
                    },
                    "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::EventStore"
                },
                "state_key_hash": "0x7d72ed827ba7631767ca4d5b692e052bdfdc02b962acd9aa702639b297d5d05a",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "coin": {
                            "value": "42470741615"
                        },
                        "deposit_events": {
                            "counter": "2",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "2"
                                }
                            }
                        },
                        "frozen": false,
                        "withdraw_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "3"
                                }
                            }
                        }
                    },
                    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                },
                "state_key_hash": "0xb2fcff321d24337870b8afa2197359fcb527d2529e51398a0b7165649f2a0801",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "authentication_key": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "coin_register_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "0"
                                }
                            }
                        },
                        "guid_creation_num": "4",
                        "key_rotation_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "1"
                                }
                            }
                        },
                        "rotation_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        },
                        "sequence_number": "497659",
                        "signer_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        }
                    },
                    "type": "0x1::account::Account"
                },
                "state_key_hash": "0x0d90a983bdbbfccd6140bc87ccaaf610d4075289145ce60a4cf17f3223574ecd",
                "type": "write_resource"
            },
            {
                "data": null,
                "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                "type": "write_table_item",
                "value": "0x75fbd999db9770010000000000000000"
            },
            {
                "data": null,
                "handle": "0xcc6c608b81fcf6d6cc0b3e9c07efb69f897bf80605e8279fc7e932fa7c12130d",
                "key": "0x20519cba9fe1b14af70f378ec0b93fbaca5ecd18aa465ab7c290e0bc4ac67da0e4",
                "state_key_hash": "0x25a316726ab2f1d5901b8450b33e0b7d03b515bfe872ca53e194663f49ecd23b",
                "type": "write_table_item",
                "value": "0x01"
            },
            {
                "data": null,
                "handle": "0xdcd5cc59d7b3d2b975bf7fcd73faa1c76ac5d3ec7479c61316af3a03ea5db3f5",
                "key": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b204a89a8097c9b249cea4fc77a80150a7e1fc42ac1744dc9d0aed1a7309ca2f37f",
                "state_key_hash": "0x6bfde154afba527d519daa1f25219eee45c31917953fae0bf186ecbdf370a0e3",
                "type": "write_table_item",
                "value": "0x1400000000000000"
            }
        ],
        "event_root_hash": "0xb3520e24d2ce9a2bd789357e730c19422b616622611f3a999b7324fc99cc2cc8",
        "events": [
            {
                "data": {
                    "confirmations": "20",
                    "hash": "0x4a89a8097c9b249cea4fc77a80150a7e1fc42ac1744dc9d0aed1a7309ca2f37f",
                    "signer": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b"
                },
                "guid": {
                    "account_address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                    "creation_number": "15"
                },
                "sequence_number": "1064679",
                "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::SignerEvent"
            }
        ],
        "expiration_timestamp_secs": "1685697282",
        "gas_unit_price": "120",
        "gas_used": "939",
        "hash": "0x6319e20f45e8f1cbe5e6ac0a2ff35537d1f42992ec82a977dd062876e8cc6d50",
        "max_gas_amount": "200000",
        "payload": {
            "arguments": [
                "0x4a89a8097c9b249cea4fc77a80150a7e1fc42ac1744dc9d0aed1a7309ca2f37f",
                "20",
                "1685717675",
                "0x27a97ad7831fe71359586cfabe3fa23ebd98b3f6fd33bd330f70610cc9e2d96c01afcf5249dd6d480702865fa3048bb44149bb46151717b15c98648594d02cd70059f8c14e9467a43bd1a4199608bbf5463856f19611ae8916db0f3cd2fa0139fe2a7f76692e5dd854ab6dbb5d3a15a6e2fcca7a584edd212507b91affbb4d98ab00"
            ],
            "function": "0xc2846ea05319c339b3b52186ceae40b43d4e9cf6c7350336c3eb0b351d9394eb::oracle::mso_propose",
            "type": "entry_function_payload",
            "type_arguments": []
        },
        "sender": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
        "sequence_number": "497658",
        "signature": {
            "public_key": "0xf22c5aeb53fc98ec8196d88df86df952a616108eabdbb993f14805660a8b1831",
            "signature": "0x39dbdb6e1835c59371b6da3cc9a159375c23e480827a293a6e8c60e0cec1761398806e76f7a62cb50819f2695f765a97920a1b7da56b00b70caf9617aa7f8302",
            "type": "ed25519_signature"
        },
        "state_change_hash": "0x3b16c96ce52b8d7fc9c83c2efc8dac12528f1478587eececa05b91a54581da08",
        "state_checkpoint_hash": null,
        "success": true,
        "timestamp": "1685696081721899",
        "type": "user_transaction",
        "version": "152087555",
        "vm_status": "Executed successfully"
    },
    {
        "accumulator_root_hash": "0xa366a7153a92b454754b058ca484fb765d8f64efcd0e4c2cb5e876c0df8288de",
        "changes": [
            {
                "address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                "data": {
                    "data": {
                        "oracle_events": {
                            "counter": "1064681",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "15"
                                }
                            }
                        },
                        "relayer_events": {
                            "counter": "1064669",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "16"
                                }
                            }
                        }
                    },
                    "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::EventStore"
                },
                "state_key_hash": "0x7d72ed827ba7631767ca4d5b692e052bdfdc02b962acd9aa702639b297d5d05a",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "coin": {
                            "value": "42470628935"
                        },
                        "deposit_events": {
                            "counter": "2",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "2"
                                }
                            }
                        },
                        "frozen": false,
                        "withdraw_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "3"
                                }
                            }
                        }
                    },
                    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                },
                "state_key_hash": "0xb2fcff321d24337870b8afa2197359fcb527d2529e51398a0b7165649f2a0801",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "authentication_key": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "coin_register_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "0"
                                }
                            }
                        },
                        "guid_creation_num": "4",
                        "key_rotation_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "1"
                                }
                            }
                        },
                        "rotation_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        },
                        "sequence_number": "497660",
                        "signer_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        }
                    },
                    "type": "0x1::account::Account"
                },
                "state_key_hash": "0x0d90a983bdbbfccd6140bc87ccaaf610d4075289145ce60a4cf17f3223574ecd",
                "type": "write_resource"
            },
            {
                "data": null,
                "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                "type": "write_table_item",
                "value": "0x4d43d899db9770010000000000000000"
            },
            {
                "data": null,
                "handle": "0xcc6c608b81fcf6d6cc0b3e9c07efb69f897bf80605e8279fc7e932fa7c12130d",
                "key": "0x20a5e4ae6d1ea06db795b154d32445c4c5a1e9f26280e8685bd494275f9e894605",
                "state_key_hash": "0x648cbca440adcdbf45dede7f92cc04f8781690258c0187729b3ae08fab411e3b",
                "type": "write_table_item",
                "value": "0x01"
            },
            {
                "data": null,
                "handle": "0xdcd5cc59d7b3d2b975bf7fcd73faa1c76ac5d3ec7479c61316af3a03ea5db3f5",
                "key": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b20bc672f7775e641aaf684a2b728c4adceefd546d891300f20fc8c67a750d41452",
                "state_key_hash": "0xd8b371881886636c5d9b2dc6896b3e0d43e05635c1bf4b715a9ac71a1bbe98b1",
                "type": "write_table_item",
                "value": "0x1400000000000000"
            }
        ],
        "event_root_hash": "0x2828654478f067c471d5f53a464286e344c257e5b018750173969a0fbb966ed0",
        "events": [
            {
                "data": {
                    "confirmations": "20",
                    "hash": "0xbc672f7775e641aaf684a2b728c4adceefd546d891300f20fc8c67a750d41452",
                    "signer": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b"
                },
                "guid": {
                    "account_address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                    "creation_number": "15"
                },
                "sequence_number": "1064680",
                "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::SignerEvent"
            }
        ],
        "expiration_timestamp_secs": "1685697282",
        "gas_unit_price": "120",
        "gas_used": "939",
        "hash": "0x4354f125d298d4e187aa8ee7bf9a1017d319cd51c3602d7b09ce7e079f713955",
        "max_gas_amount": "200000",
        "payload": {
            "arguments": [
                "0xbc672f7775e641aaf684a2b728c4adceefd546d891300f20fc8c67a750d41452",
                "20",
                "1685717675",
                "0x5db176243a662d5e94c3d3ce0b616169b02fef578640ea6f21a9d70e77292d9b324fe067d37dc57a24417ca2ee68394ab4d9e72553f951623f75c1a0f8bc19b100960e5304328a83a07c3d481a151a44fc0ee324ce16f9d1381efb5b0de17ad1bc304a9bfde28326182750a07bc1013df3de9263af866a42873ebe937dc512c62b00"
            ],
            "function": "0xc2846ea05319c339b3b52186ceae40b43d4e9cf6c7350336c3eb0b351d9394eb::oracle::mso_propose",
            "type": "entry_function_payload",
            "type_arguments": []
        },
        "sender": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
        "sequence_number": "497659",
        "signature": {
            "public_key": "0xf22c5aeb53fc98ec8196d88df86df952a616108eabdbb993f14805660a8b1831",
            "signature": "0x2e172cd8bb6514417b667696ec7dce524b5775429216c1a6272b3f3dc07fac3299eb5509fdd5c7b222d79c482dce3a9a3c1dec463a50cafcde34708f64411200",
            "type": "ed25519_signature"
        },
        "state_change_hash": "0x281372c68525810baf10f0089cc5fa91c8cc74f9a6aabc725f8b00f1041ad8bb",
        "state_checkpoint_hash": null,
        "success": true,
        "timestamp": "1685696082022666",
        "type": "user_transaction",
        "version": "152087558",
        "vm_status": "Executed successfully"
    },
    {
        "accumulator_root_hash": "0xdf24383f1795b508008f080f598d7b0b3be5bf49e760ded6da8c88d86c33ec9d",
        "changes": [
            {
                "address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                "data": {
                    "data": {
                        "oracle_events": {
                            "counter": "1064682",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "15"
                                }
                            }
                        },
                        "relayer_events": {
                            "counter": "1064670",
                            "guid": {
                                "id": {
                                    "addr": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                                    "creation_num": "16"
                                }
                            }
                        }
                    },
                    "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::EventStore"
                },
                "state_key_hash": "0x7d72ed827ba7631767ca4d5b692e052bdfdc02b962acd9aa702639b297d5d05a",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "coin": {
                            "value": "42470516255"
                        },
                        "deposit_events": {
                            "counter": "2",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "2"
                                }
                            }
                        },
                        "frozen": false,
                        "withdraw_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "3"
                                }
                            }
                        }
                    },
                    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                },
                "state_key_hash": "0xb2fcff321d24337870b8afa2197359fcb527d2529e51398a0b7165649f2a0801",
                "type": "write_resource"
            },
            {
                "address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                "data": {
                    "data": {
                        "authentication_key": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                        "coin_register_events": {
                            "counter": "1",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "0"
                                }
                            }
                        },
                        "guid_creation_num": "4",
                        "key_rotation_events": {
                            "counter": "0",
                            "guid": {
                                "id": {
                                    "addr": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
                                    "creation_num": "1"
                                }
                            }
                        },
                        "rotation_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        },
                        "sequence_number": "497661",
                        "signer_capability_offer": {
                            "for": {
                                "vec": []
                            }
                        }
                    },
                    "type": "0x1::account::Account"
                },
                "state_key_hash": "0x0d90a983bdbbfccd6140bc87ccaaf610d4075289145ce60a4cf17f3223574ecd",
                "type": "write_resource"
            },
            {
                "data": null,
                "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                "type": "write_table_item",
                "value": "0x47f6d099db9770010000000000000000"
            },
            {
                "data": null,
                "handle": "0xcc6c608b81fcf6d6cc0b3e9c07efb69f897bf80605e8279fc7e932fa7c12130d",
                "key": "0x2042678e0b5a3409e6cb67ddb626e61b3cbc09c65bd8636c3a92554446e883a859",
                "state_key_hash": "0x2574694216b5a51a74960797f1d3c1680ae5c0582a9217c96bfe116c1396aff3",
                "type": "write_table_item",
                "value": "0x01"
            },
            {
                "data": null,
                "handle": "0xdcd5cc59d7b3d2b975bf7fcd73faa1c76ac5d3ec7479c61316af3a03ea5db3f5",
                "key": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b200c8a3237d64bf11673b2d1ef6e7d0e013e1d61ece6e606c7d342a8493b78baff",
                "state_key_hash": "0xc726f12cfcb45b2f9561685cb3430eb3bcef7a360e59b27de351efae689a0347",
                "type": "write_table_item",
                "value": "0x1400000000000000"
            }
        ],
        "event_root_hash": "0x259f6232cd763fa77900080ee376b20862aa7b6416e035a9ea813b96e41d5626",
        "events": [
            {
                "data": {
                    "confirmations": "20",
                    "hash": "0x0c8a3237d64bf11673b2d1ef6e7d0e013e1d61ece6e606c7d342a8493b78baff",
                    "signer": "0x12e12de0af996d9611b0b78928cd9f4cbf50d94d972043cdd829baa77a78929b"
                },
                "guid": {
                    "account_address": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90",
                    "creation_number": "15"
                },
                "sequence_number": "1064681",
                "type": "0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::uln_receive::SignerEvent"
            }
        ],
        "expiration_timestamp_secs": "1685697287",
        "gas_unit_price": "120",
        "gas_used": "939",
        "hash": "0x6041a16d053ed12cb5dd185d4443d1ee79a302bfa2a05b2756156ca43140b78f",
        "max_gas_amount": "200000",
        "payload": {
            "arguments": [
                "0x0c8a3237d64bf11673b2d1ef6e7d0e013e1d61ece6e606c7d342a8493b78baff",
                "20",
                "1685717681",
                "0x945c919bc348e094057f7a9f17dcb5ad17b87c0dc079120c9910d0ad68bd55274d3016421f3521fcb2896dcff7cdfc1e505e52910f6c6a37a97b9ef17d3ec5c9011510a8e2fa099c25b0917b40ca88eaccf3fec37c91d8df43afe0e7733a600c0b6bf90a2a277a0e228188bac85659bec32be770ccb6c2c2db2bb765cd63a367be00"
            ],
            "function": "0xc2846ea05319c339b3b52186ceae40b43d4e9cf6c7350336c3eb0b351d9394eb::oracle::mso_propose",
            "type": "entry_function_payload",
            "type_arguments": []
        },
        "sender": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
        "sequence_number": "497660",
        "signature": {
            "public_key": "0xf22c5aeb53fc98ec8196d88df86df952a616108eabdbb993f14805660a8b1831",
            "signature": "0x605835fdb308777a70c7cff179562dd7d0857cfd3b44395eb41741b99ad839064b9b449b3e88bb4084a2a7c21b2d1e245c8099199b6b7a8d19c5de688105a301",
            "type": "ed25519_signature"
        },
        "state_change_hash": "0x157737081d9b412f3cb6d90329877187445c73a948892c1289545f5f0d065537",
        "state_checkpoint_hash": null,
        "success": true,
        "timestamp": "1685696086904097",
        "type": "user_transaction",
        "version": "152087596",
        "vm_status": "Executed successfully"
    }
]

eth_getTransactionReceipt - Arbitrum

Example code for the eth_getTransactionReceipt json-rpc method. Сomplete guide on how to use eth_getTransactionReceipt json-rpc in GetBlock.io Web3 documentation.

Parameters

DATA - string

Hash of a transaction.

Request

Response

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c"], "id": "getblock.io"}'
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
        "blockNumber": "0x5259c43",
        "contractAddress": null,
        "cumulativeGasUsed": "0xc69229",
        "effectiveGasPrice": "0x5f5e100",
        "from": "0xb8b2522480f850eb198ada5c3f31ac528538d2f5",
        "gasUsed": "0x1993d7",
        "gasUsedForL1": "0x113076",
        "l1BlockNumber": "0x105fbf6",
        "logs": [
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000ad0c364098a8",
                "logIndex": "0x16",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000453815b37042",
                "logIndex": "0x17",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000067d4208d2866",
                "logIndex": "0x18",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x0000000000000000000000006a78e84fa0edad4d99eb90edc041cdbf85925961"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000309f7337922a",
                "logIndex": "0x19",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000006a78e84fa0edad4d99eb90edc041cdbf85925961",
                    "0x000000000000000000000000a6c5c7d189fa4eb5af8ba34e63dcdd3a635d433f"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000522c821a41ac4e8d26000000000000000000000000000000000000000000000026ace1c2f6b236aed3",
                "logIndex": "0x1a",
                "removed": false,
                "topics": [
                    "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000067d4208d2866000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000309f7337922a",
                "logIndex": "0x1b",
                "removed": false,
                "topics": [
                    "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d",
                    "0x000000000000000000000000a6c5c7d189fa4eb5af8ba34e63dcdd3a635d433f"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x912ce59144191c1204e64559fe8253a0e49e6548",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000001061732add570c2",
                "logIndex": "0x1c",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x000000000000000000000000a6c5c7d189fa4eb5af8ba34e63dcdd3a635d433f",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0xa6c5c7d189fa4eb5af8ba34e63dcdd3a635d433f",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000005a33bb71fb5a286c3c00000000000000000000000000000000000000000001e7ad5aafb7fabb76081a",
                "logIndex": "0x1d",
                "removed": false,
                "topics": [
                    "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0xa6c5c7d189fa4eb5af8ba34e63dcdd3a635d433f",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000309f7337922a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001061732add570c2",
                "logIndex": "0x1e",
                "removed": false,
                "topics": [
                    "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b8958f33d60",
                "logIndex": "0x1f",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000000000000000000000000000000000000000dead"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000229c0ad9b821",
                "logIndex": "0x20",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000b85edbd54bec6830cb71f565b3d635bce5548b42"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "logIndex": "0x21",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000b85edbd54bec6830cb71f565b3d635bce5548b42"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000229c0ad9b821",
                "logIndex": "0x22",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000b85edbd54bec6830cb71f565b3d635bce5548b42"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x912ce59144191c1204e64559fe8253a0e49e6548",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000001d1f05a1897e4e",
                "logIndex": "0x23",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000a67b4bf837b77da3d11aa1bb0b7bcdde995279d8"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x912ce59144191c1204e64559fe8253a0e49e6548",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000003a3e0b4312fc9c",
                "logIndex": "0x24",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000370849e7693f8b1996fde7875df44c042ccb2754"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x912ce59144191c1204e64559fe8253a0e49e6548",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000575d10e49c7aeb",
                "logIndex": "0x25",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000a67b4bf837b77da3d11aa1bb0b7bcdde995279d8"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x912ce59144191c1204e64559fe8253a0e49e6548",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000575d10e49c7aed",
                "logIndex": "0x26",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000a025035ece3034ab5c41c9d5181cf2b3eb909698"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000039aebcc032e2",
                "logIndex": "0x27",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b8958f33d60",
                "logIndex": "0x28",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x0000000000000000000000006a78e84fa0edad4d99eb90edc041cdbf85925961"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000005670cc5b46a",
                "logIndex": "0x29",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000006a78e84fa0edad4d99eb90edc041cdbf85925961",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000522c8225cb0541ca86000000000000000000000000000000000000000000000026ace1bd8fa570fa69",
                "logIndex": "0x2a",
                "removed": false,
                "topics": [
                    "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b8958f33d6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005670cc5b46a",
                "logIndex": "0x2b",
                "removed": false,
                "topics": [
                    "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000005670cc5b46a",
                "logIndex": "0x2c",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d",
                    "0x0000000000000000000000000000000000000000000000000000000000000000"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b8958f33d60",
                "logIndex": "0x2d",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000000000000ec44748e1",
                "logIndex": "0x2e",
                "removed": false,
                "topics": [
                    "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b7a94abf47f",
                "logIndex": "0x2f",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000009e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                    "0x0000000000000000000000006a78e84fa0edad4d99eb90edc041cdbf85925961"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000005670cc5b46a",
                "logIndex": "0x30",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000005670cc5b46a",
                "logIndex": "0x31",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d",
                    "0x0000000000000000000000006a78e84fa0edad4d99eb90edc041cdbf85925961"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000000457a68bbf3",
                "logIndex": "0x32",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "0x0000000000000000000000006a63830e24f9a2f9c295fb2150107d0390ed1448"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000002719aa223a7",
                "logIndex": "0x33",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "0x0000000000000000000000000000000000000000000000000000000000000000"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x0000000000000000000000000000000000000000000000522c82314599edbf05000000000000000000000000000000000000000000000026ace1c2f6b236aed3",
                "logIndex": "0x34",
                "removed": false,
                "topics": [
                    "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x6a78e84fa0edad4d99eb90edc041cdbf85925961",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b7a94abf47f000000000000000000000000000000000000000000000000000005670cc5b46a",
                "logIndex": "0x35",
                "removed": false,
                "topics": [
                    "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f",
                    "0x000000000000000000000000c873fecbd354f5a56e00e710b90ef4201db2448d"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b8958f33d60000000000000000000000000000000000000000000000000000005670cc5b46a00000000000000000000000000000000000000000000000000000000645052ac",
                "logIndex": "0x36",
                "removed": false,
                "topics": [
                    "0xf75993dbe1645872cbbea6395e1feebee76b435baf0e4d62d7eac269c6f57b24"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000000000b8958f33d60000000000000000000000000000000000000000000000000001d1f05a1897e4e000000000000000000000000000000000000000000000000003a3e0b4312fc9c00000000000000000000000000000000000000000000000000001712b1e67ac100000000000000000000000000000000000000000000000000575d10e49c7aeb0000000000000000000000000000000000000000000000000000229c0ad9b82100000000000000000000000000000000000000000000000000575d10e49c7aed00000000000000000000000000000000000000000000000000000000645052ac",
                "logIndex": "0x37",
                "removed": false,
                "topics": [
                    "0x310a031bae0df2b1a8ba6de615833770c757a404a7395cc0121c13975e67c0b0"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x09e18590e8f76b6cf471b3cd75fe1a1a9d2b2c2b",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x00000000000000000000000000000000000000000000000001f3d40421a49612",
                "logIndex": "0x38",
                "removed": false,
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000005845696f6031bfd57b32e6ce2ddea19a486fa5e5",
                    "0x000000000000000000000000b8b2522480f850eb198ada5c3f31ac528538d2f5"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            },
            {
                "address": "0x5845696f6031bfd57b32e6ce2ddea19a486fa5e5",
                "blockHash": "0x2caf14773f5c8854de725d9077918a0ec14bd123163d5f9e479b06f201452320",
                "blockNumber": "0x5259c43",
                "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f3d40421a49612",
                "logIndex": "0x39",
                "removed": false,
                "topics": [
                    "0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568",
                    "0x000000000000000000000000b8b2522480f850eb198ada5c3f31ac528538d2f5"
                ],
                "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
                "transactionIndex": "0x7"
            }
        ],
        "logsBloom": "0x00200002000010000048000080010000000000400000000000000000001401001000000000000000000040000100000000084000000000000018000000280000000000010000000002000028000900200000800402000000000000000000000800000408020000000000000400000820020000000008400000000010000018002000000200000000000044000000000000000002000001080000004000000810020002000000000000000000010008008000000000001000000000000000000100000502000000000080000000020000200000020001001000000000000020000430040004000000000000600000000000000000000000000004000000000000",
        "status": "0x1",
        "to": "0x5845696f6031bfd57b32e6ce2ddea19a486fa5e5",
        "transactionHash": "0x21be7a93a4531a76b1e15d14059582e6b6f9e36cbdc7a85c23667808f4c78b2c",
        "transactionIndex": "0x7",
        "type": "0x0"
    }
}

/v1/blocks/by_version/{version} - Aptos

Example code for the /v1/blocks/by_version/{version} json-rpc method. Сomplete guide on how to use /v1/blocks/by_version/{version} json-rpc in GetBlock.io Web3 documentation.

Parameters

with_transactions -

Includes transactions in the block if true. Defaults to false.

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/blocks/by_version/147811395?with_transactions=true' \
--header 'Content-Type: application/json'

Response

{
    "block_hash": "0x3a7b9293154d52b090a3ee601cc4add1efd82668613b1fd103197109ff54be2c",
    "block_height": "57347454",
    "block_timestamp": "1685063032234522",
    "first_version": "147811395",
    "last_version": "147811397",
    "transactions": [
        {
            "accumulator_root_hash": "0xea623df05c583207535aacb8a5cdc24562e10733fcfd1dbc0befc255d58a7d43",
            "changes": [
                {
                    "address": "0x1",
                    "data": {
                        "data": {
                            "epoch_interval": "7200000000",
                            "height": "57347454",
                            "new_block_events": {
                                "counter": "57347455",
                                "guid": {
                                    "id": {
                                        "addr": "0x1",
                                        "creation_num": "3"
                                    }
                                }
                            },
                            "update_epoch_interval_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x1",
                                        "creation_num": "4"
                                    }
                                }
                            }
                        },
                        "type": "0x1::block::BlockResource"
                    },
                    "state_key_hash": "0x5ddf404c60e96e9485beafcabb95609fed8e38e941a725cae4dcec8296fb32d7",
                    "type": "write_resource"
                },
                {
                    "address": "0x1",
                    "data": {
                        "data": {
                            "validators": [
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "63"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "31"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "14"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "4"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "29"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "43"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "41"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "39"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "52"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "107"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "193"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "196"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "182"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "217"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "193"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "206"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "206"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "210"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "172"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "206"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "139"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "12"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "14"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "12"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "17"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "6"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "205"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "179"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "18"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "159"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "189"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "6"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "43"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "135"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "191"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "200"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "142"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "142"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "13"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "89"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "7"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "4"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "42"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "47"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "30"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "212"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "194"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "179"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "192"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "194"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "60"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "48"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "196"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "142"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "145"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "161"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "207"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "211"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "147"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "159"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "21"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "141"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "17"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "7"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "4"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "107"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "128"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "72"
                                }
                            ]
                        },
                        "type": "0x1::stake::ValidatorPerformance"
                    },
                    "state_key_hash": "0x8048c954221814b04533a9f0a9946c3a8d472ac62df5accb9f47c097e256e8b6",
                    "type": "write_resource"
                },
                {
                    "address": "0x1",
                    "data": {
                        "data": {
                            "microseconds": "1685063032234522"
                        },
                        "type": "0x1::timestamp::CurrentTimeMicroseconds"
                    },
                    "state_key_hash": "0x7b1615bf012d3c94223f3f76287ee2f7bdf31d364071128b256aeff0841b626d",
                    "type": "write_resource"
                }
            ],
            "epoch": "2708",
            "event_root_hash": "0x021fff75f2338698ff461969deb5b907aa617c6f83e988c3473e5f3f77debb84",
            "events": [
                {
                    "data": {
                        "epoch": "2708",
                        "failed_proposer_indices": [],
                        "hash": "0x3a7b9293154d52b090a3ee601cc4add1efd82668613b1fd103197109ff54be2c",
                        "height": "57347454",
                        "previous_block_votes_bitvec": "0x7ffe8dca8332f836c96afaff8e90",
                        "proposer": "0x5ae6127c854988607bb3375484e61ba10e2ce5e6ca9ff92a7b322149ddbbf552",
                        "round": "7819",
                        "time_microseconds": "1685063032234522"
                    },
                    "guid": {
                        "account_address": "0x1",
                        "creation_number": "3"
                    },
                    "sequence_number": "57347454",
                    "type": "0x1::block::NewBlockEvent"
                }
            ],
            "failed_proposer_indices": [],
            "gas_used": "0",
            "hash": "0xa1e9ce115bbfb5e3ff06df3beb3c2849cb8d48fb6474d995e0b94af1d0c3dc4f",
            "id": "0x3a7b9293154d52b090a3ee601cc4add1efd82668613b1fd103197109ff54be2c",
            "previous_block_votes_bitvec": [
                127,
                254,
                141,
                202,
                131,
                50,
                248,
                54,
                201,
                106,
                250,
                255,
                142,
                144
            ],
            "proposer": "0x5ae6127c854988607bb3375484e61ba10e2ce5e6ca9ff92a7b322149ddbbf552",
            "round": "7819",
            "state_change_hash": "0xfc49459fab7265e5f7e20c24eb6abe5a68eeadf39b1f7811d62dece88e71ad0d",
            "state_checkpoint_hash": null,
            "success": true,
            "timestamp": "1685063032234522",
            "type": "block_metadata_transaction",
            "version": "147811395",
            "vm_status": "Executed successfully"
        },
        {
            "accumulator_root_hash": "0x966dd8c623b3063a58c46bf64fbd95d06746779aa44188fd7dadd4602b25acaf",
            "changes": [
                {
                    "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "data": {
                        "data": {
                            "coin": {
                                "value": "4948300"
                            },
                            "deposit_events": {
                                "counter": "1",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "2"
                                    }
                                }
                            },
                            "frozen": false,
                            "withdraw_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "3"
                                    }
                                }
                            }
                        },
                        "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                    },
                    "state_key_hash": "0x3cec7fe8530a6688d69c124ed977319e22d8a8a74acd6b95eaa568c7726e7a74",
                    "type": "write_resource"
                },
                {
                    "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "data": {
                        "data": {
                            "coin": {
                                "value": "50000"
                            },
                            "deposit_events": {
                                "counter": "1",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "4"
                                    }
                                }
                            },
                            "frozen": false,
                            "withdraw_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "5"
                                    }
                                }
                            }
                        },
                        "type": "0x1::coin::CoinStore<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
                    },
                    "state_key_hash": "0xb97e0a59827e06be4f337a74db01a6f044ca059fb389f702a140d00378fba6de",
                    "type": "write_resource"
                },
                {
                    "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "data": {
                        "data": {
                            "authentication_key": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                            "coin_register_events": {
                                "counter": "2",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "0"
                                    }
                                }
                            },
                            "guid_creation_num": "6",
                            "key_rotation_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "1"
                                    }
                                }
                            },
                            "rotation_capability_offer": {
                                "for": {
                                    "vec": []
                                }
                            },
                            "sequence_number": "1",
                            "signer_capability_offer": {
                                "for": {
                                    "vec": []
                                }
                            }
                        },
                        "type": "0x1::account::Account"
                    },
                    "state_key_hash": "0x65a1189e97f8ec70eafc8ece99b25f79ed0e230295c5d7bf1f46b2fa55093491",
                    "type": "write_resource"
                },
                {
                    "address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                    "data": {
                        "data": {
                            "decimals": 6,
                            "name": "Tether USD",
                            "supply": {
                                "vec": [
                                    {
                                        "aggregator": {
                                            "vec": []
                                        },
                                        "integer": {
                                            "vec": [
                                                {
                                                    "limit": "340282366920938463463374607431768211455",
                                                    "value": "6940588922528"
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            "symbol": "USDT"
                        },
                        "type": "0x1::coin::CoinInfo<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
                    },
                    "state_key_hash": "0x18a12ea319b7376eb20ec94a19057bd9295ed5f4c21719f759b01a0a7b53f546",
                    "type": "write_resource"
                },
                {
                    "address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                    "data": {
                        "data": {
                            "claim_events": {
                                "counter": "186073",
                                "guid": {
                                    "id": {
                                        "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                        "creation_num": "6"
                                    }
                                }
                            },
                            "receive_events": {
                                "counter": "889351",
                                "guid": {
                                    "id": {
                                        "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                        "creation_num": "5"
                                    }
                                }
                            },
                            "send_events": {
                                "counter": "622265",
                                "guid": {
                                    "id": {
                                        "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                        "creation_num": "4"
                                    }
                                }
                            }
                        },
                        "type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::EventStore"
                    },
                    "state_key_hash": "0xd4044c0f6183e29c9b0eac374056cee14aa5c239b811be978df8e9454d58cc94",
                    "type": "write_resource"
                },
                {
                    "data": null,
                    "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                    "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                    "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                    "type": "write_table_item",
                    "value": "0x70618c8b6a2770010000000000000000"
                },
                {
                    "data": null,
                    "handle": "0x2e46d98566716dc078ca858162169242fd0e45d7f2f8fb4799767c17e0af99bd",
                    "key": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "state_key_hash": "0x4696d45e724c41fee140ae0f15dcbe89107e5cd6723265e88efcb4bc1e978b2d",
                    "type": "delete_table_item"
                }
            ],
            "event_root_hash": "0x239bf6aedae7d54a532d2fbd13d2bb2228d9dd51135167fa2e8fc9b13f721c1a",
            "events": [
                {
                    "data": {
                        "type_info": {
                            "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                            "module_name": "0x6173736574",
                            "struct_name": "0x55534454"
                        }
                    },
                    "guid": {
                        "account_address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                        "creation_number": "0"
                    },
                    "sequence_number": "1",
                    "type": "0x1::account::CoinRegisterEvent"
                },
                {
                    "data": {
                        "amount": "50000"
                    },
                    "guid": {
                        "account_address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                        "creation_number": "4"
                    },
                    "sequence_number": "0",
                    "type": "0x1::coin::DepositEvent"
                },
                {
                    "data": {
                        "amount_ld": "50000",
                        "coin_type": {
                            "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                            "module_name": "0x6173736574",
                            "struct_name": "0x55534454"
                        },
                        "receiver": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3"
                    },
                    "guid": {
                        "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                        "creation_number": "6"
                    },
                    "sequence_number": "186072",
                    "type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::ClaimEvent"
                }
            ],
            "expiration_timestamp_secs": "1685063040",
            "gas_unit_price": "100",
            "gas_used": "517",
            "hash": "0x434d4f991a70384d11f41ae1627089173f82f014db60c0c4b806afaf32384b49",
            "max_gas_amount": "1034",
            "payload": {
                "arguments": [],
                "function": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::claim_coin",
                "type": "entry_function_payload",
                "type_arguments": [
                    "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT"
                ]
            },
            "sender": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
            "sequence_number": "0",
            "signature": {
                "public_key": "0x194e8ddc4fe79daa79f5e3de0e6ee499df8a331df28bb512e9a056871e2b9b45",
                "signature": "0x34e0a9bf2598698f46ac5b9b1f93deb5b3c3b6ccf417c844894629d6ec0a7e4ab77504998bb883a2ba1ea3d77d6ecf4fde3167c247861086d80c7bbdd892b705",
                "type": "ed25519_signature"
            },
            "state_change_hash": "0xe1e6651f1f5b03fcd76db010b7d229e1468aadc518764f5ffce2d7bbc1ae4ed3",
            "state_checkpoint_hash": null,
            "success": true,
            "timestamp": "1685063032234522",
            "type": "user_transaction",
            "version": "147811396",
            "vm_status": "Executed successfully"
        },
        {
            "accumulator_root_hash": "0xabb7ca17212b71b84e5e6da91f29f8e8edc5e41751fcb71d343eb595391fd1f4",
            "changes": [],
            "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
            "gas_used": "0",
            "hash": "0x1b10f560cdf966f69e409b8190abc207a784afc0824ffd21e5dbbcd4f98b629a",
            "state_change_hash": "0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6",
            "state_checkpoint_hash": "0x96d424f2d4b9cccfd8964ed8604b00069572f001382d55692c06e2bfcd2efdd1",
            "success": true,
            "timestamp": "1685063032234522",
            "type": "state_checkpoint_transaction",
            "version": "147811397",
            "vm_status": "Executed successfully"
        }
    ]
}

/v1/blocks/by_height/{block_height} - Aptos

Example code for the /v1/blocks/by_height/{block_height} json-rpc method. Сomplete guide on how to use /v1/blocks/by_height/{block_height} json-rpc in GetBlock.io Web3 documentation.

Parameters

with_transactions -

Includes transactions in the block if true. Defaults to false.

Request

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/blocks/by_height/57347454?with_transactions=true' \
--header 'Content-Type: application/json'

Response

{
    "block_hash": "0x3a7b9293154d52b090a3ee601cc4add1efd82668613b1fd103197109ff54be2c",
    "block_height": "57347454",
    "block_timestamp": "1685063032234522",
    "first_version": "147811395",
    "last_version": "147811397",
    "transactions": [
        {
            "accumulator_root_hash": "0xea623df05c583207535aacb8a5cdc24562e10733fcfd1dbc0befc255d58a7d43",
            "changes": [
                {
                    "address": "0x1",
                    "data": {
                        "data": {
                            "epoch_interval": "7200000000",
                            "height": "57347454",
                            "new_block_events": {
                                "counter": "57347455",
                                "guid": {
                                    "id": {
                                        "addr": "0x1",
                                        "creation_num": "3"
                                    }
                                }
                            },
                            "update_epoch_interval_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x1",
                                        "creation_num": "4"
                                    }
                                }
                            }
                        },
                        "type": "0x1::block::BlockResource"
                    },
                    "state_key_hash": "0x5ddf404c60e96e9485beafcabb95609fed8e38e941a725cae4dcec8296fb32d7",
                    "type": "write_resource"
                },
                {
                    "address": "0x1",
                    "data": {
                        "data": {
                            "validators": [
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "63"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "31"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "14"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "4"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "29"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "43"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "41"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "39"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "52"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "107"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "193"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "196"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "182"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "217"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "193"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "206"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "206"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "210"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "172"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "206"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "139"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "12"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "14"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "12"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "17"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "5"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "6"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "205"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "179"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "18"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "159"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "189"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "6"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "43"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "135"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "8"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "191"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "200"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "142"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "142"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "15"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "13"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "89"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "7"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "4"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "42"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "47"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "30"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "16"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "212"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "194"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "179"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "192"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "194"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "60"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "48"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "196"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "142"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "145"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "9"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "161"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "207"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "211"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "147"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "159"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "21"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "141"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "17"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "7"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "4"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "11"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "107"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "10"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "128"
                                },
                                {
                                    "failed_proposals": "0",
                                    "successful_proposals": "72"
                                }
                            ]
                        },
                        "type": "0x1::stake::ValidatorPerformance"
                    },
                    "state_key_hash": "0x8048c954221814b04533a9f0a9946c3a8d472ac62df5accb9f47c097e256e8b6",
                    "type": "write_resource"
                },
                {
                    "address": "0x1",
                    "data": {
                        "data": {
                            "microseconds": "1685063032234522"
                        },
                        "type": "0x1::timestamp::CurrentTimeMicroseconds"
                    },
                    "state_key_hash": "0x7b1615bf012d3c94223f3f76287ee2f7bdf31d364071128b256aeff0841b626d",
                    "type": "write_resource"
                }
            ],
            "epoch": "2708",
            "event_root_hash": "0x021fff75f2338698ff461969deb5b907aa617c6f83e988c3473e5f3f77debb84",
            "events": [
                {
                    "data": {
                        "epoch": "2708",
                        "failed_proposer_indices": [],
                        "hash": "0x3a7b9293154d52b090a3ee601cc4add1efd82668613b1fd103197109ff54be2c",
                        "height": "57347454",
                        "previous_block_votes_bitvec": "0x7ffe8dca8332f836c96afaff8e90",
                        "proposer": "0x5ae6127c854988607bb3375484e61ba10e2ce5e6ca9ff92a7b322149ddbbf552",
                        "round": "7819",
                        "time_microseconds": "1685063032234522"
                    },
                    "guid": {
                        "account_address": "0x1",
                        "creation_number": "3"
                    },
                    "sequence_number": "57347454",
                    "type": "0x1::block::NewBlockEvent"
                }
            ],
            "failed_proposer_indices": [],
            "gas_used": "0",
            "hash": "0xa1e9ce115bbfb5e3ff06df3beb3c2849cb8d48fb6474d995e0b94af1d0c3dc4f",
            "id": "0x3a7b9293154d52b090a3ee601cc4add1efd82668613b1fd103197109ff54be2c",
            "previous_block_votes_bitvec": [
                127,
                254,
                141,
                202,
                131,
                50,
                248,
                54,
                201,
                106,
                250,
                255,
                142,
                144
            ],
            "proposer": "0x5ae6127c854988607bb3375484e61ba10e2ce5e6ca9ff92a7b322149ddbbf552",
            "round": "7819",
            "state_change_hash": "0xfc49459fab7265e5f7e20c24eb6abe5a68eeadf39b1f7811d62dece88e71ad0d",
            "state_checkpoint_hash": null,
            "success": true,
            "timestamp": "1685063032234522",
            "type": "block_metadata_transaction",
            "version": "147811395",
            "vm_status": "Executed successfully"
        },
        {
            "accumulator_root_hash": "0x966dd8c623b3063a58c46bf64fbd95d06746779aa44188fd7dadd4602b25acaf",
            "changes": [
                {
                    "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "data": {
                        "data": {
                            "coin": {
                                "value": "4948300"
                            },
                            "deposit_events": {
                                "counter": "1",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "2"
                                    }
                                }
                            },
                            "frozen": false,
                            "withdraw_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "3"
                                    }
                                }
                            }
                        },
                        "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
                    },
                    "state_key_hash": "0x3cec7fe8530a6688d69c124ed977319e22d8a8a74acd6b95eaa568c7726e7a74",
                    "type": "write_resource"
                },
                {
                    "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "data": {
                        "data": {
                            "coin": {
                                "value": "50000"
                            },
                            "deposit_events": {
                                "counter": "1",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "4"
                                    }
                                }
                            },
                            "frozen": false,
                            "withdraw_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "5"
                                    }
                                }
                            }
                        },
                        "type": "0x1::coin::CoinStore<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
                    },
                    "state_key_hash": "0xb97e0a59827e06be4f337a74db01a6f044ca059fb389f702a140d00378fba6de",
                    "type": "write_resource"
                },
                {
                    "address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "data": {
                        "data": {
                            "authentication_key": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                            "coin_register_events": {
                                "counter": "2",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "0"
                                    }
                                }
                            },
                            "guid_creation_num": "6",
                            "key_rotation_events": {
                                "counter": "0",
                                "guid": {
                                    "id": {
                                        "addr": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                                        "creation_num": "1"
                                    }
                                }
                            },
                            "rotation_capability_offer": {
                                "for": {
                                    "vec": []
                                }
                            },
                            "sequence_number": "1",
                            "signer_capability_offer": {
                                "for": {
                                    "vec": []
                                }
                            }
                        },
                        "type": "0x1::account::Account"
                    },
                    "state_key_hash": "0x65a1189e97f8ec70eafc8ece99b25f79ed0e230295c5d7bf1f46b2fa55093491",
                    "type": "write_resource"
                },
                {
                    "address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                    "data": {
                        "data": {
                            "decimals": 6,
                            "name": "Tether USD",
                            "supply": {
                                "vec": [
                                    {
                                        "aggregator": {
                                            "vec": []
                                        },
                                        "integer": {
                                            "vec": [
                                                {
                                                    "limit": "340282366920938463463374607431768211455",
                                                    "value": "6940588922528"
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            "symbol": "USDT"
                        },
                        "type": "0x1::coin::CoinInfo<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT>"
                    },
                    "state_key_hash": "0x18a12ea319b7376eb20ec94a19057bd9295ed5f4c21719f759b01a0a7b53f546",
                    "type": "write_resource"
                },
                {
                    "address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                    "data": {
                        "data": {
                            "claim_events": {
                                "counter": "186073",
                                "guid": {
                                    "id": {
                                        "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                        "creation_num": "6"
                                    }
                                }
                            },
                            "receive_events": {
                                "counter": "889351",
                                "guid": {
                                    "id": {
                                        "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                        "creation_num": "5"
                                    }
                                }
                            },
                            "send_events": {
                                "counter": "622265",
                                "guid": {
                                    "id": {
                                        "addr": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                                        "creation_num": "4"
                                    }
                                }
                            }
                        },
                        "type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::EventStore"
                    },
                    "state_key_hash": "0xd4044c0f6183e29c9b0eac374056cee14aa5c239b811be978df8e9454d58cc94",
                    "type": "write_resource"
                },
                {
                    "data": null,
                    "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
                    "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
                    "state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
                    "type": "write_table_item",
                    "value": "0x70618c8b6a2770010000000000000000"
                },
                {
                    "data": null,
                    "handle": "0x2e46d98566716dc078ca858162169242fd0e45d7f2f8fb4799767c17e0af99bd",
                    "key": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                    "state_key_hash": "0x4696d45e724c41fee140ae0f15dcbe89107e5cd6723265e88efcb4bc1e978b2d",
                    "type": "delete_table_item"
                }
            ],
            "event_root_hash": "0x239bf6aedae7d54a532d2fbd13d2bb2228d9dd51135167fa2e8fc9b13f721c1a",
            "events": [
                {
                    "data": {
                        "type_info": {
                            "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                            "module_name": "0x6173736574",
                            "struct_name": "0x55534454"
                        }
                    },
                    "guid": {
                        "account_address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                        "creation_number": "0"
                    },
                    "sequence_number": "1",
                    "type": "0x1::account::CoinRegisterEvent"
                },
                {
                    "data": {
                        "amount": "50000"
                    },
                    "guid": {
                        "account_address": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
                        "creation_number": "4"
                    },
                    "sequence_number": "0",
                    "type": "0x1::coin::DepositEvent"
                },
                {
                    "data": {
                        "amount_ld": "50000",
                        "coin_type": {
                            "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                            "module_name": "0x6173736574",
                            "struct_name": "0x55534454"
                        },
                        "receiver": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3"
                    },
                    "guid": {
                        "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
                        "creation_number": "6"
                    },
                    "sequence_number": "186072",
                    "type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::ClaimEvent"
                }
            ],
            "expiration_timestamp_secs": "1685063040",
            "gas_unit_price": "100",
            "gas_used": "517",
            "hash": "0x434d4f991a70384d11f41ae1627089173f82f014db60c0c4b806afaf32384b49",
            "max_gas_amount": "1034",
            "payload": {
                "arguments": [],
                "function": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::claim_coin",
                "type": "entry_function_payload",
                "type_arguments": [
                    "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT"
                ]
            },
            "sender": "0x4c1b416e4e3793724dabd2d10909689bd534159a2d4d4b605ec22d9e593bbad3",
            "sequence_number": "0",
            "signature": {
                "public_key": "0x194e8ddc4fe79daa79f5e3de0e6ee499df8a331df28bb512e9a056871e2b9b45",
                "signature": "0x34e0a9bf2598698f46ac5b9b1f93deb5b3c3b6ccf417c844894629d6ec0a7e4ab77504998bb883a2ba1ea3d77d6ecf4fde3167c247861086d80c7bbdd892b705",
                "type": "ed25519_signature"
            },
            "state_change_hash": "0xe1e6651f1f5b03fcd76db010b7d229e1468aadc518764f5ffce2d7bbc1ae4ed3",
            "state_checkpoint_hash": null,
            "success": true,
            "timestamp": "1685063032234522",
            "type": "user_transaction",
            "version": "147811396",
            "vm_status": "Executed successfully"
        },
        {
            "accumulator_root_hash": "0xabb7ca17212b71b84e5e6da91f29f8e8edc5e41751fcb71d343eb595391fd1f4",
            "changes": [],
            "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
            "gas_used": "0",
            "hash": "0x1b10f560cdf966f69e409b8190abc207a784afc0824ffd21e5dbbcd4f98b629a",
            "state_change_hash": "0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6",
            "state_checkpoint_hash": "0x96d424f2d4b9cccfd8964ed8604b00069572f001382d55692c06e2bfcd2efdd1",
            "success": true,
            "timestamp": "1685063032234522",
            "type": "state_checkpoint_transaction",
            "version": "147811397",
            "vm_status": "Executed successfully"
        }
    ]
}