Only this pageAll pages
Powered by GitBook
Couldn't generate the PDF for 3597 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...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Add-ons

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Extra Services For Dedicated Nodes

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

BSC Advanced Tooling

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Crypto AML

Loading...

Loading...

Loading...

Loading...

Loading...

Crypto Address Audit

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Flashblocks

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Solana Market Data

Loading...

Loading...

Loading...

Loading...

Solana Advanced Data Tools

Loading...

Loading...

How to set up an account

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

How to Sign Up

1

Go to GetBlock

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

How to create an account on GetBlock
GetBlock's Sign-Up page, where users can register to access blockchain services
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.

  • WalletConnect Sign in with MetaMask Mobile, Trust Wallet, Rabby, Ledger Live, or another WalletConnect-compatible wallet.

  • 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.

Access the dashboard

Once you've created an account and signed in, you'll be directed to the GetBlock Dashboard.

  • You can create endpoints

  • Monitor your usage plan

  • Access statistics.

GetBlock user dashboard for managing blockchain node access
GetBlock user Dashboard

Check your User ID

  1. Click on your profile icon

profile icon
  1. Click on the Copy Icon to copy your User ID

Where to find the GetBlock user ID

Endpoint setup

Configure, 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.

Creating node endpoints
Enabling archive mode
Configuring dedicated nodes
Using GetBlock configuration files

Testing RPC connection

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

Beacon API

GetBlock Beacon API: access the Ethereum consensus layer (Proof-of-Stake), separate from the usual JSON-RPC execution layer.

The Beacon API opens access to the Ethereum consensus layer — the Proof-of-Stake side of the network. This is a different layer from the one the standard eth_* JSON-RPC serves, and it exposes data that the execution layer simply does not hold.

Since the Merge, an Ethereum node runs as two coupled clients. The execution layer processes transactions and smart-contract state; you read it through the familiar eth_* methods. The consensus layer runs Proof-of-Stake: it manages validators, organizes time into slots and epochs, and decides finality. Each layer answers a different kind of question, and each has its own API.

A standard node gives you the execution layer. The Beacon API add-on gives you the consensus layer alongside it, so a single dedicated node answers both.

What it exposes

The Beacon API returns data that the eth_* API does not:

  • Chain timing and finality — slots, epochs, and finalization status.

  • Validators — balances, statuses, entry and exit queues, and effectiveness.

  • Consensus duties — attestations, sync committees, and block proposals.

  • Staking data — the information that validator monitoring and staking dashboards depend on.

For example, when you query a validator by its index, the response returns the validator's status, its balance, and its position in any activation or exit queue. There is no execution-layer method that can answer this, because the execution layer has no concept of a validator.

Benefits

  • A complete view of the chain: You read both the execution and consensus layers from one dedicated node.

  • Direct staking data: You track finalization, validator effectiveness, and queue position without a separate service in the path.

  • Live monitoring: You watch validator status and attestation performance as it changes.

When to use it

  • You run a staking provider and monitor validator health.

  • You build a validator dashboard or a Proof-of-Stake analytics tool.

  • You need finalization status or sync-committee data for your product.

Priority fee

Docs will be here soon!

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: https://documenter.getpostman.com/view/28751185/2s9YRDzqcX.

  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}.

Using Postman Collection for Ethereum JSON-RPC request
Using Postman to send a JSON-RPC request to an Ethereum node via GetBlock

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

Welcome

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

With our tools and services, you can focus on building your dApp 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 Services

Services
Description

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 100+ 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

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

Popular chains

Get started with our most in-demand blockchain networks.

Ethereum

Tron

Arbitrum

BNB Smart Chain

Solana

Optimism

Polygon

Avalanche

Base

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 endpoint you create is assigned a unique access token:

https://shared.<region>.getblock.io/<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:

curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
curl --location --request POST 'https://shared.us-east-1.getblock.io/<ACCESS-TOKEN>/
curl --location --request POST 'https://shared.ap-southeast-1.getblock.io/<ACCESS-TOKEN>/

Response:

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.

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

Plans and limits

GetBlock offers flexible RPC plans and features to support developers and businesses at any stage, from small projects to high-traffic platforms

Start here to choose a plan, understand usage limits, and manage billing.

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.


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.


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.

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:

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

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

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.

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).

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

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://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>/ is correct.

429

Too many requests

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

JSON-RPC errors

Code
Error message
Solution

32601

The method does not exist/is not available

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

32602

Invalid argument

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

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

How to track your GetBlock blockchain node usage statistics

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 the dashboard.

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

Select the time period, protocol name, networks (mainnet/testnet), region, 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 and CUs

  • Response statuses

  • Method call distribution

  • Rate limit rejections


Notifications and email communication

GetBlock provides automated email updates for key account and subscription events:

  • Account registration

  • Successful order payments (Shared, Dedicated services, and Top-Ups)

  • Start of grace period

  • Subscription expiration

  • Dedicated node deployed and activated

  • Recurring payment cancelled

Email notifications are delivered only to accounts with a verified email address provided during registration.

Users who registered using third-party authentication methods, such as MetaMask login, may not receive email notifications.

Users can also choose whether to receive marketing communications from GetBlock. This preference can be managed in Account Settings → General by enabling or disabling the “I want to receive marketing offers” option.

Blockbook

GetBlock Blockbook: an address and wallet indexer for UTXO chains such as Bitcoin.

Blockbook is an indexer for UTXO chains. It answers questions about an address or a whole wallet — balances, transaction history, and unspent outputs — that a standard Bitcoin node cannot answer on its own.

A Bitcoin node tracks the set of unspent transaction outputs (UTXOs), but it does not organize them by address. Ask a plain node for the balance of an address and it has no direct way to reply, because it was never built to look up history that way. Anyone who needs address-level data has to build a separate index over the chain.

Blockbook, built by Trezor, is that index. It reads the chain and maintains an address-indexed and xpub-indexed view on top of it. You query an address or a wallet, and Blockbook returns the answer from its index.

What it does

  • Address queries: Ask for the balance, transaction history, or unspent outputs for a single address.

  • Wallet queries: Request a full wallet at once using an xpub or an output descriptor. Blockbook derives the addresses and returns the combined result, so you do not track each address yourself.

  • Derivation support: The add-on covers the BIP44, BIP49, BIP84, and BIP86 (Taproot) schemes, so it reads legacy, SegWit, native SegWit, and Taproot wallets.

  • Filtering and paging: Page through large result sets and filter transactions by block-height range.

An xpub query, for instance, returns the balance for the entire wallet, the derived addresses, and the transactions, sorted by block height with the newest first.

Supported networks

Because Blockbook indexes unspent outputs by address, the configurator offers it only on Bitcoin-type chains:

Chain
Ticker

Bitcoin

BTC

Bitcoin Cash

BCH

Dash

DASH

Each chain's paths and methods are listed under its own entry in the API reference. The schema is shared across all of them, so a query written for one chain works on another with only the endpoint changed.

REST and WebSocket are provisioned separately. Blockbook exposes the same index through two interfaces: a REST API for one-off queries, and a WebSocket API that also supports subscriptions. Each is its own endpoint with its own URL, so enabling Blockbook (REST) does not give you Blockbook (WS). A project that needs to watch an address as well as query it needs both.

Benefits

  • Wallet-level answers: One xpub call returns a full wallet, instead of many per-address calls.

  • No indexer to build: You skip building and operating an address index next to your node.

  • Direct UTXO access: You read unspent outputs to construct a spending transaction.

  • Broad wallet coverage: Legacy through Taproot wallets are all supported.

When to use it

  • You build a Bitcoin wallet or a portfolio tracker.

  • You need address balances or transaction history on a UTXO chain.

  • You construct transactions and need the UTXOs behind an address.

Limitations

  • Blockbook serves UTXO (Bitcoin-type) chains. It does not apply to account-based chains such as Ethereum.

  • The interface serves many coins through a shared schema, so some fields apply only to specific chains.

Automatic RPC Failover

GetBlock Automatic RPC Failover switches your traffic to shared RPC automatically when your dedicated node degrades.

Automatic RPC Failover keeps your application online when your dedicated node degrades. If the node falls behind or starts to fail, the system moves your traffic to GetBlock shared RPC and moves it back once the node recovers. The switch is automatic, and your endpoint URL never changes.

A dedicated node gives you isolated, predictable performance, but it is still a single resource. It needs client upgrades, it can fall behind the chain head during a heavy sync, and a traffic spike can push it past its capacity. Without a fallback, any of these moments becomes downtime for your users. Failover removes that single point of failure.

How it works

The system checks the health of your node on a set interval. It treats the node as degraded when any of these conditions appears:

  • the node lags the chain head by more than a set number of blocks;

  • its error rate crosses a set threshold;

  • its response latency crosses a set limit.

When the node is healthy, all your traffic goes to it, and you get the full benefit of dedicated performance. When the node degrades, the system reroutes your requests to the shared pool, so no request is dropped while the node is unavailable. When the node returns to a healthy state, the system routes traffic back to it.

Because the endpoint URL stays the same throughout, your application does not know the switch happened. You do not reconfigure a client or restart a service.

  • Continuous availability: A degraded node no longer takes your application down with it.

  • Safe maintenance: Your node can take client upgrades and maintenance windows without a visible service gap.

  • Spike absorption: Traffic beyond your dedicated capacity fails over instead of failing outright.

  • You run a production application that cannot drop requests.

  • Your node needs regular maintenance or client upgrades.

  • Your traffic is bursty and sometimes exceeds your dedicated capacity.

The shared pool has its own rate limits. Failover is there to keep you online during a problem; it is not a way to get unlimited dedicated capacity on demand. If your steady-state traffic already needs more than your node provides, the answer is more dedicated capacity, not failover. Treat failover as insurance, not as headroom.

Custom Endpoint URL

GetBlock Custom Endpoint URL: replace the autogenerated hash with your own URL for your dedicated node.

Custom Endpoint URL lets you serve your dedicated node from a domain you own instead of the autogenerated address. Rather than a URL that carries a random access token, you present a clean, branded address such as rpc.yourapp.com, while the node behind it stays exactly the same.

How it works

By default, your endpoint carries a random access token in the path, e.g a typical path from GetBlock shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/. That works, but it ties your public configuration to a provider hash, and it places a secret inside a URL, where it tends to end up in server logs, browser history, and proxy records.

This add-on changes the address in two ways:

  1. You input the domain you own at your GetBlock node with a Canonical name (CNAME) record, or choose a readable subdomain in place of the hash.

  2. You keep your authentication in a header, such as x-access-token, instead of in the URL, so the secret no longer travels as part of the address.

The node, the performance, and the behavior are unchanged. Only the address your application points at is different.

  • Your brand on your URLs. A white-label product serves endpoints that carry your name, not a provider hash.

  • A private stack. Your public configuration does not reveal which infrastructure provider you use.

  • A stable address. The URL survives token rotation, because the token lives in a header rather than in the path.

  • You build a white-label product, and your URLs must carry your brand.

  • You prefer that your public configuration not name your provider.

  • You want a readable, stable URL that does not change when you rotate keys.

  • If the endpoint is internal and no user ever sees it, the default URL is already enough.

  • Setup requires a domain you own and a DNS change on your side.

Dedicated Ingress Proxy

GetBlock Dedicated Ingress Proxy gives you your own routing layer, fully isolated from all other traffic.

A Dedicated Ingress Proxy gives you your own routing layer in front of your node — a proxy fleet that serves only your traffic. It isolates the one part of the path that a standard dedicated node still shares with everyone else: the gateway.

The layer most people forget

A dedicated node isolates the compute that runs the chain, but a request does not reach that compute directly. It first passes through an ingress proxy that terminates TLS, checks authentication, applies rate limits, and routes the request onward. On a standard setup, that proxy layer is shared across many customers. Your node is private, but the front door is not.

Most of the time this is fine. It matters when the shared front door becomes the constraint — when another customer's traffic surge slows the gateway, or when your own throughput and policy needs outgrow a shared default.

What it does

The add-on gives you a proxy fleet that no other customer uses. Because your traffic is the only traffic on it, no other customer's load can compete with yours at the gateway, and the time the proxy adds stays predictable. It also becomes yours to configure: you can apply rate-limit and routing rules that fit your workload rather than a shared default, and your traffic stays isolated from the edge all the way to the node.

Benefits

  • No noisy neighbor at the gateway: Another customer's load cannot affect your routing layer.

  • Predictable gateway latency: With only your traffic on the proxy, the added latency stays stable.

  • Custom policy: Set rate-limit and routing behavior that a shared policy cannot offer.

  • End-to-end isolation: Traffic is isolated from the edge to the node, which supports strict compliance requirements.

  • Your application runs at high request rates, and the shared gateway has become the limit.

  • Your compliance rules require an isolated traffic path, not just an isolated node.

  • You need custom rate-limit or routing behavior at the gateway.

  • If your traffic is moderate and the shared gateway keeps up, you do not need a dedicated proxy.

  • The add-on isolates the routing layer. It does not change the node's own compute capacity.

Creating node endpoints

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

This short guide shows you how to create an RPC endpoint (an RPC URL) for any supported protocol in your GetBlock Shared Node dashboard to connect it to your app, script, or wallet.


The steps below cover how to generate a new endpoint URL with an Access Token:

1

Log in to your GetBlock account and navigate to the Dashboard

2

GetBlock Docs MCP server

Connect the GetBlock Docs MCP server to Claude, Claude Code, Cursor, VS Code, or ChatGPT and query the documentation directly from your AI assistant.

The GetBlock documentation is available as a Model Context Protocol (MCP) server — a live, machine-readable interface to docs.getblock.io that AI agents can query directly:

Instead of getting non-factual or hallucinated answers, your AI assistant connected to this server searches and reads our documentation from API references, guides, pricing, and setup steps etc, the moment you ask. The server uses streamable HTTP transport and requires no API key or authentication.

The server exposes four tools to any connected agent:

Tool
What the agent does with it

ERC-4337

GetBlock ERC-4337 Methods: access bundler RPC calls for smart accounts, so gasless and batched transactions work without your own UserOperation relay.

This add-on adds the account-abstraction methods. Account abstraction lets a smart contract act as a wallet, enabling transactions without native ETH for gas, third-party gas sponsorship, and custom validation logic.

Account abstraction does not change the base protocol. It works through a separate transaction-like object, the UserOperation, and a set of off-chain roles that process it. The geth and reth clients do not know about UserOperations, so they cannot serve the ERC-4337 methods on their own.

To close that gap, GetBlock runs a bundler as a sidecar next to your node. The bundler is the component that understands UserOperations. It exposes the full ERC-4337 RPC to your client and settles the operations on-chain through the EntryPoint contract.

A UserOperation describes an action for a smart-contract wallet. Your client submits it to the bundler rather than to the chain directly. The bundler validates it, holds it in its own mempool, groups several operations together, and submits the bundle to the EntryPoint contract, which executes each one against its target wallet.

Overview

GetBlock exposes Flashblocks' data on supported OP Stack networks through the standard JSON-RPC and WebSocket interfaces.

Flashblocks are partial blocks streamed by the sequencer as it builds. The mechanism is powered by Rollup-Boost, a sequencer sidecar built by Flashbots in collaboration with OP Labs. A single OP Stack block is divided into ten Flashblocks streamed at 200ms intervals, each one a delta containing the new transactions and resulting state changes since the previous Flashblock. The preconfirmed state is surfaced through the standard Ethereum JSON-RPC interface using the pending block tag, so existing tooling reads Flashblock state without modification.

A standard OP Stack block is produced every 2 seconds. Flashblocks subdivide that interval into ten increments:

  • The sequencer publishes a new Flashblock every ~200ms (index 0 through 9 within each parent block).

MEV Protection

GetBlock MEV Protection routes your transactions through a private mempool against front-running and sandwich attacks

Traditionally, when you send a transaction, your node validates it and places it in the mempool. The mempool is a public holding area for transactions that are not yet confirmed. The node then broadcasts the transaction to its peers, so the pending transaction is visible across the network while it waits.

MEV Protection routes your transactions through a private mempool so that MEV bots never see them. This stops front-running and sandwich attacks before they can happen. You enable it at the endpoint level, and your application code does not change.

Block builders — the validators and searchers who assemble the next block — read the mempool and choose which transactions to include and in what order. That power to order, insert, and exclude transactions is where the risk begins.

MEV — Maximal Extractable Value — is the value that a block builder can extract purely by controlling transaction order. Most of this value is not found by the builders themselves. It is found by searchers: third parties who run bots that watch the public mempool and calculate which ordering earns them a profit. The profit usually comes at the expense of an ordinary user whose pending transaction sits in the open.

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.


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

Overlay Methods

GetBlock Overlay Methods: access debug/trace over a block range and replay history with modified contract bytecode, without any real on-chain deployment.

Overlay methods let you replay chain history as if a contract had run different code. You change a contract's bytecode — or its balance, nonce, or storage — and re-run past blocks to see the logs and events it would have produced. Nothing is deployed on-chain, and no real transaction is sent.

A contract only emits the events its code was written to emit. If a contract shipped without an event you now need — a missing Transfer log, an unindexed state change — that data does not exist on-chain, and no normal query can recover it. Re-deploying a fixed contract does not help either, because it cannot rewrite the past.

Overlay methods approach this from the other direction. They take the real historical state and replay it through your version of the contract. The chain's inputs stay real; only the contract logic changes. The result is the data the original contract would have emitted if it had carried your code.

This mirrors how state-override

Nonstandard Client Support

GetBlock Nonstandard Client Support runs extra namespaces, private forks, and exotic configs — all on managed infrastructure.

Nonstandard Client Support runs the namespaces, client builds, and configurations that a default node does not enable — extra RPC namespaces, a patched or forked client, or an exotic set of flags. GetBlock operates the setup for you on managed infrastructure, so you get the capability without taking on the operations.

A default node exposes a standard set of RPC namespaces on a standard client build, tuned for the common case. That covers most workloads, but some workloads need what the default deliberately leaves off: the debug, trace, txpool, or admin namespaces; a specific client version or a private fork; or custom flags such as an archive sync mode or a particular tracer configuration.

Enabling these yourself means running the node, and running a nonstandard node means owning its upgrades, its monitoring, and its incidents. This add-on takes that on. You describe what you need; GetBlock deploys and operates it.

Zero-hop Node Access

GetBlock Zero-hop Node Access: connect straight to your dedicated node, bypassing the proxy layer entirely.

Zero-Hop Node Access gives you a direct connection to your node, removing the routing layer that normally sits in the path. It is built for the workloads where latency is measured in milliseconds, and every one of them counts.

A normal request does not travel straight to the node. It passes through a gateway and a load balancer first. Those layers do useful work—authentication, rate limiting, health-aware routing—but each one adds a small amount of time and, just as important, a small amount of variance. For an ordinary application, this overhead is invisible. For a trading engine competing on speed, that variance is the problem: not only the average latency, but how much it wobbles from request to request.

Zero-Hop pins your connection to your node and takes those intermediate layers out of the path.

Because you always reach the same node rather than being routed to whichever one the balancer picks, you also get a consistent view of the mempool and chain state — which, for trading, is as valuable as the raw speed. For the largest gain, pair Zero-Hop with a node in the region closest to your own systems, so the short path is also a physically short one.

Dogecoin

DOGE

Zcash

ZEC

Choosing Your Plan

Compare Shared Nodes, Limitless Node, and Dedicated Nodes.

CU and Rate Limits

GetBlock's Compute Unit (CU) and requests-per-second (RPS) limits across plans.

Limitless Node

Explore the Limitless plan without CU and request limits.

What counts as a CU?

Compute Units (CUs) explained.

Top up CUs

Add more CUs to your active plan.

Dedicated Nodes

Manage & extend Dedicated Node subscriptions.

Payment Methods

Set up billing with fiat or crypto.

No code change: The URL is unchanged, so your integration is unchanged.
You hold an uptime commitment to your own users.

Benefits

When to use it

Limitations

A safer secret. Keeping the token out of the URL keeps it out of logs and browser history.

Benefits

When to use it

Limitations

When to use it

Limitations

32700

Parse error

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

specifications

Please, account for VAT when planning your payments.

Updating your payment details

Crypto payments

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.

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 blokchain API usage
Managing your blockchain RPC node usage with notifications

Front-running: A searcher sees your large trade waiting in the mempool. It submits its own buy with a higher fee, so the builder places it ahead of yours. The searcher buys at the lower price, your trade then pushes the price up, and the searcher profits.

  • Sandwiching: The searcher places one transaction before yours and one after. The first rides the price up ahead of you; the second sells into the price move your trade caused. Your trade is the filling in the sandwich, and you get the worst price.

  • Back-running: The searcher positions its transaction right after yours to capture a price gap your trade opened, for example between two exchanges.

  • The common thread is visibility. Every one of these attacks depends on the searcher seeing your transaction while it waits in the public mempool.

    MEV Protection removes your transaction from that public view. Instead of the public mempool, GetBlock routes it through a private mempool in partnership with Merkle, which acts as a trusted private builder. The transaction travels straight to the builder without being broadcast, so a searcher never sees it and has nothing to attack.

    The protection lives at the RPC endpoint layer. You select the MEV-protected endpoint and send transactions exactly as you do today. There is no in-app defense to build and no change to your transaction code.

    • No in-app defenses to build: The protection sits in the endpoint, which lowers your cost and complexity.

    • Protection against front-running and sandwiching: A bot cannot attack a transaction it cannot see.

    • The same integration: You keep your existing code and only change the endpoint URL.

    • Better outcomes for users: Your users keep the value that a searcher would otherwise take from their trades.

    Not every transaction needs protection. A plain transfer of ETH, an NFT, or a token exposes no arbitrage, so a bot has no reason to touch it. Protection matters when a transaction moves value in a way a searcher can exploit: a token swap on a DEX, an NFT mint, an auction, or activity in a lending protocol. If your users trade, protect their transactions.

    What MEV is

    How the attacks work

    How MEV Protection works

    Benefits

    When to use it

    works in
    eth_call
    , extended across a range of historical blocks rather than a single call.
    • Trace a block range (debug/trace block-by-range). Process history in bulk instead of sending one request per block.

    • overlay_getLogs. Replay a block range with modified bytecode and pull logs that never existed on the real chain.

    • overlay_callConstructor. See how a contract would have initialized under different deployment logic.

    • Reconstruct missing events: Recover data the original contract never logged.

    • Bulk history processing: Block-range tracing removes the per-block request overhead of a normal node.

    • Safe experimentation: Test modified logic against real history with no deployment and no risk to on-chain state.

    • You run on-chain analytics and need events a contract never emitted.

    • You reverse-engineer contract behavior.

    • You reconstruct historical data for indexing or audit.

    This is not a plugin on top of a standard node. It is a separate custom reth build (Oregon) that replaces the standard dedicated node. The catalog lists it as an add-on for consistency

    What you can do

    Benefits

    When to use it

    For example, a default node does not expose the pending transaction pool and does not run a custom tracer. With this add-on, GetBlock enables the txpool namespace and deploys your tracer, so you can read the pending pool and trace transactions with your own logic — on infrastructure you do not have to manage.

    • Access to hidden data: Reach namespaces and traces that a default node does not expose.

    • Your client build: Run a specific version, a private fork, or a patched client.

    • Managed operation: GetBlock runs the exotic setup, so your engineers do not manage the machine.

    • You run MEV or search workloads that need txpool access and custom tracers.

    • Your security or forensics work needs debug_traceTransaction with a custom tracer.

    • You need a patched client, a private fork, or a niche chain client that no shared node runs.

    • This add-on costs more than the others because it is bespoke operations rather than a configuration toggle.

    • A nonstandard build needs lead time to prepare and deploy.

    Benefits

    When to use it

    Limitations

    Select the option to either roll (regenerate) or delete the token.
    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
    }'
    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
    }'
    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
    }'

    Access Token security

    How to manage GetBlock access tokens
    Regenerate or delete your access token

    Get the chain ID

    Check account balance by address

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

    {
        "jsonrpc":"2.0",
        "id":"getblock.io",
        "result":"0x1449641"
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0x1449641"
    }
    curl --location --request POST 'https://shared.eu-central-1.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://shared.eu-central-1.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"
    }

    Find the Endpoints section on the Dashboard

    3

    Click Get endpoint to open the endpoint setup menu

    4

    In the modal that opens, select:

    • The desired blockchain protocol (Ethereum, BNB Chain, Polygon, etc.)

    • The network you want to interact with: mainnet or testnet

    • Node mode: full (default) or archive

    • The API interface that you need (JSON-RPC, WebSockets, GraphQL, etc.)

    • One of the available server locations (Frankfurt, New York, or Singapore)

    5

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

    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.


    When creating an endpoint in your GetBlock Dashboard, for select protocols, you can choose between two node access modes – Full and Archive. This selection determines how much historical blockchain data your endpoint can access.

    • Full mode: Standard full (pruned) node behavior — current state lookups, sending transactions, reading blocks, etc.

    • Archive mode: Enables access to the historical chain state. Useful for querying balances, contract storage, UTXO sets, executing historical calls, simulating transactions at a past block, or reconstructing chain state for analytics and audits.


    The created URL is shown on the endpoints list so you can copy it and start calling the node. Use the right-side menu () to roll (regenerate) or delete the endpoint from the list.

    In GetBlock, an endpoint URL includes your unique Access Token — the credential that authenticates RPC requests. GetBlock’s UI sometimes labels the whole endpoint provisioning flow “Get Access Token” because a new RPC URL is created together with the token.

    Related:

    All GetBlock endpoints follow a predictable format. The visible difference is the hostname reflecting the region selected during the setup.

    Endpoint examples:

    The token encodes the protocol, networks, and routing on the server — clients don’t need to specify a chain in the URL.

    Full vs Archive mode

    Selecting the Archive mode for an endpoint changes how requests are billed in Compute Units (CU). Learn more in the .

    Viewing and managing endpoints

    Because the Access Token is embedded, the URL is the credential. Keep it secret and store securely. If the URL is exposed, regenerate or revoke it from your GetBlock account.

    searchDocumentation

    Searches all of docs.getblock.io and returns matching pages with excerpts and links

    getPage

    Fetches the full markdown content of a specific docs page by URL

    askQuestion

    Asks a question and gets an answer grounded in the documentation

    sendFeedback

    Sends feedback about the documentation back to the GetBlock team

    Once connected, ask your assistant things like:

    • “How do I enable the Yellowstone gRPC add-on on a dedicated Solana node?”

    • “What are GetBlock's CU and rate limits per plan?”

    • “Show me the Flashblocks API methods for Base.”

    In claude.ai or the Claude Desktop app:

    1. Go to Settings → Connectors → Add custom connector.

    2. Name it GetBlock Docs and paste https://docs.getblock.io/~gitbook/mcp.

    3. Enable it from the tools menu in any chat.

    Run one command in your terminal:

    Verify the connection with /mcp inside a session.

    Go to Settings → MCP → Add new MCP server, or add to .cursor/mcp.json:

    Run MCP: Add Server from the Command Palette and choose HTTP, or add to .vscode/mcp.json:

    1. Enable Developer mode under Settings → Apps & Connectors.

    2. Choose Create connector and paste https://docs.getblock.io/~gitbook/mcp (no authentication).

    3. The connector becomes available in chat and deep research.

    https://docs.getblock.io/~gitbook/mcp

    What it can do

    Connect your AI agent

    Migrating an existing project to GetBlock? Point your connected assistant at the guide and it will walk through the migration for you.

    Method
    Purpose

    eth_sendUserOperation

    Submit a UserOperation to the bundler mempool

    eth_estimateUserOperationGas

    Estimate the gas a UserOperation needs

    eth_getUserOperationByHash

    Fetch a UserOperation by its hash

    • Native ERC-4337 support: You get the full account-abstraction RPC on a node that does not provide it by default.

    • Gasless transactions: With a paymaster, your users transact without holding native ETH, because the paymaster sponsors the gas.

    • No bundler to run: You build on smart-contract wallets without operating and maintaining your own bundler.

    • You build a product around smart-contract wallets.

    • You run a paymaster or a gas-sponsorship flow.

    • You build account-abstraction infrastructure and need a reliable bundler RPC.

    How a UserOperation flows

    The methods

    Benefits

    When to use it

  • index 0 carries the base block context; subsequent Flashblocks carry only the diff of new transactions and state changes.

  • Reading any supported method against the pending tag returns the accumulated preconfirmed state from the latest Flashblock.

  • The same call against latest returns the most recent fully sealed block.

  • Preconfirmations are strong signals, not guarantees. A streamed Flashblock can be excluded from the final block (a Flashblock reorg). The reorg rate is below 0.1%, but applications handling critical operations should confirm against finalized block data.

    There are two access patterns:

    • pending tag (request/response): Pass "pending" as the block parameter to any supported read method to get the latest preconfirmed value over HTTP. This is the recommended approach for most applications, as it provides stable behavior with automatic fallback to standard blocks if Flashblocks become unavailable.

    • WebSocket streaming (subscriptions): Open a WebSocket connection and subscribe to a Flashblocks topic to receive each Flashblock as it is produced — five times per second. This is intended for latency-sensitive consumers such as trading systems. Applications should avoid a hard dependency on the WebSocket stream and treat it as an optimization layer over the RPC interface.

    Flashblocks are documented per network. Endpoints, method tables, and chain-specific methods are covered on the dedicated pages:

    • Base

    • Optimism

    How Flashblocks Work

    How to Use Flashblocks

    Flashblocks are simply a class of that are now active on GetBlock endpoints for Base and Optimism. If you already run either chain with GetBlock, the new methods are available on your existing endpoint. If you are new, set up a Base or Optimism endpoint from the and the methods are there.

    Supported Networks

    Click the "Top Up" button on the Dashboard.
  • Select the number of CUs you’d like to add or choose the recommended plan (if prompted) based on your usage needs.

  • Confirm and finalize your purchase.

  • Your account balance will be updated immediately upon successful payment.


    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.


    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.

    Add Compute Units: Paid plan users

    topping up GetBlock CU balance

    Increase CU limits: Free plan users

    Boost CU, RPS, and Access Token limits

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

    Lower latency. Removing the gateway and load-balancer hops shortens the path.

  • Predictable latency. A fixed, direct route removes the variance those layers introduce.

  • A consistent node view. Always hitting the same node keeps your mempool and state view consistent.

    • You run a high-frequency trading bot or an arbitrage engine.

    • You run an MEV searcher, where every millisecond changes the outcome.

    • You send transactions where a consistent node view decides success.

    The direct path is also an unprotected one. By removing the routing layer, you give up the automatic failover and load balancing it provides. That is the right trade for a latency-critical workload and the wrong trade for a normal one — if reliability matters more to you than the last few milliseconds, keep the proxy.

    Benefits

    When to use it

    Limitations

    Zero-Hop and pull in opposite directions by design: one removes the routing layer, the other depends on it. Choose the one that fits the workload rather than enabling both.

    Choosing your plan

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

    GetBlock offers four main service options: Shared Nodes, Limitless Node, 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 https://getblock.io/pricing/.


    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.

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

    • Regional endpoints: Connect to the nearest datacenter — Frankfurt (EU), New York (US), Singapore (APAC) — to minimize network latency.

    • Archive data access: Run full historical blockchain queries.

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


    Limitless Node is the middle ground between Shared and Dedicated Nodes. It's an isolated endpoint with guaranteed RPS and a flat monthly fee. Pricing is set by throughput rather than Compute Units, so you can send unlimited requests within your RPS tier without per-request metering.

    • Dedicated routing to ensure consistent performance and throughput.

    • Fixed RPS tiers: Choose the throughput level that matches your workload, from smaller setups to higher-volume production traffic.

    • No Compute Unit (CU) or request limits: Each plan includes a set RPS limit with unlimited requests within that tier.


    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.

    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.


    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

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

    Enabling archive mode

    Enable Archive Mode on your GetBlock Shared Node API to access the full blockchain history and run historical queries

    GetBlock provides direct access to blockchain historical states through both the Dedicated Nodes service and archive-enabled Shared RPC endpoints.

    This page covers Archive Mode – a setting that turns on archive-node access within GetBlock’s Shared Nodes subscription.

    Common RPC use cases enabled by Archive Mode:

    • Read contract/account state at any past block, not just latest , using methods like (address, blockNumber), (contract, slot, blockNumber), (address, blockNumber), etc.

    • Call view functions against historical state: e.g. (..., blockNumber).

    • Run historical queries and debugging that rely on old state: forensics, audits, explorers, indexing, and retroactive analytics.

    • Support tracing and higher-fidelity debugging that may require historical state.

    This feature removes the need to run a dedicated archive infrastructure for some use cases, letting developers perform on-demand historical queries via GetBlock RPC API.


    Archive functionality is included with all Shared Node subscriptions, excluding the Free plan. No additional fee required.

    Archive support is provided for a set of popular protocol mainnets, including Ethereum, BSC, Polygon, Base, Arbitrum, TRON, Sui, Cardano, etc.

    Look for the small history icon ( ) when picking a protocol during the . It indicates that Archive mode is available for that blockchain.


    1. Sign in to your GetBlock dashboard and make sure you’re on the Shared Node tab.

    2. Click Get endpoint and choose a required blockchain protocol.

    1. Find the Mode toggle and switch the Archive mode on.

    1. Finish configuring endpoint details by choosing the API interface and server location as usual.

    After clicking Get, the new Archive endpoint appears in your Endpoints list. The endpoint URLs will follow the existing GetBlock format but point to archive nodes.


    Archive endpoints usage remains subject to your plan’s .

    However, serving requests from archive infrastructure involves heavier storage and compute power compared to regular full nodes.

    Therefore, enabling the Archive mode affects how CU usage is calculated:

    • GetBlock applies a 2× Compute Unit (CU) multiplier to all requests made through the Archive endpoint.

    • The multiplier is applied to all requests made to an archive endpoint, even if the invoked RPC call does not require a historical state.

    You can review the per-chain CU values for each method on our page.

    Example:

    If eth_getBalance costs 20 CU on a standard shared endpoint for a given chain, the same call to an Archive-enabled shared endpoint will cost 40 CU.

    Plan accordingly and consider using standard Full mode endpoints for non-archive traffic to avoid unnecessary CU consumption.


    • Use archive endpoints only for workloads that require a historical state. For transactions or current state queries, use a standard Full mode to save CU.

    • Monitor CU consumption on the dashboard and set alerts for spikes or when usage nears your plan limit.

    • If you run sustained, high-volume archive queries, consider using a Dedicated Node.


    what you’re building — our team can guide you to the most efficient archive node setup.

    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 jq 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:

    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.

    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.

    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.

    Every update stream can include full transaction metadata, instruction details, and parsed logs – essentially everything you’d see in a or 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.


    • 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.

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


    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.;


    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.

    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.


    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://shared.eu-central-1.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.


    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
    1. Click 'Save', and the custom network will be added and selected as default.

    Solana Shreds Streaming

    GetBlock Solana Shreds Streaming delivers raw block data straight from validators, over UDP, before the block is assembled.

    Solana Shreds Streaming delivers raw block data straight from validators, over UDP, before the block is assembled. It gives you the earliest possible view of what is happening on Solana — earlier than any standard RPC or gRPC feed.

    What a shred is

    A Solana leader does not publish a finished block all at once. As it produces a block, it splits the data into small fragments called shreds and streams them across the network through Turbine, Solana's stake-weighted propagation layer. Other validators receive the shreds and reassemble them into a complete block.

    Every standard data feed sits at the end of that journey. It waits for the shreds to travel through Turbine, for the block to be reassembled, and for a commitment level to be reached before it reports anything. Shreds streaming skips the wait by reading the shreds at the source.

    What you receive

    From the shreds you reconstruct transaction intent as the leader is packing it: transaction signatures, the accounts involved, the instructions (program, accounts, data), address-lookup-table references, and slot numbers. This arrives roughly 100 to 500 milliseconds earlier than a standard commitment-based feed reports the same activity.

    That head start is the entire point. In latency-sensitive strategies, seeing a transaction before it is confirmed is the difference between reacting first and reacting too late.

    1. As a dedicated node add-on. You attach shreds streaming to your Solana dedicated node, giving your node and your workloads a faster, steadier source of block data.

    2. As a standalone service — no node needed. You top up credits, open a UDP port, and start receiving shreds. You do not run or rent a Solana node at all. Decoding the shreds gives you the transaction data directly, and your credit balance meters the usage.

    The service connects to validators and forwards their shreds to your listener over UDP. UDP carries the data at wire speed: it has no handshake and no retransmission, so it removes the overhead that slows a TCP-based feed. You run a listener on an open UDP port, decode the incoming shreds into transactions, and act on them.

    • The earliest view of the chain: You act on transaction intent before a standard feed reports it.

    • Lower tail latency: Shreds arrive with less timing variance, so the feed stays steady slot after slot.

    • A redundant data path: Direct shreds add a second source next to Turbine, which helps in remote or less-peered regions.

    • You run a high-frequency trading bot or an arbitrage engine.

    • You run an MEV searcher and need to react first.

    • You run a liquidation bot where a few milliseconds decide the outcome.

    • Pre-execution data only: Shreds show intent, not results. You do not get success or failure, balance changes, logs, or compute usage, so some transactions you observe will later fail. Treat the stream as a signal, and confirm outcomes through a normal feed.

    • Possible packet loss: UDP trades reliability for speed, so a raw stream can drop a packet. This is acceptable for speed-critical work, but you design for it.

    • You decode the stream: Raw shreds need a listener that decodes them. This is a low-level integration, not a single RPC call.

    Field
    Value

    Run a check in the dashboard

    The web UI is the fastest way to screen a wallet or transaction — no code required.

    Getting started takes three things: sign up with an email, top up balance, and start screening. No KYB and no annual contract.

    Entry point: https://account.getblock.io/products/aml-check→ Run a check.

    Screening in three steps

    The individual flow is a simple, three-step screen:

    Step
    Action

    01

    The report ("Address risk — Detailed view") surfaces:

    • Total risk score — the wallet-wide 0–100 result. It reflects the wallet’s complete screened history across the returned assets, not only its current balance or riskiest token. The interface groups it as Low (0–24), Medium (25–49), High (50–74), or Very high (75–100).

    Individuals can configure screenings and receive reports inside @GetBlockAMLBot — no separate dashboard needed (Coming soon).

    Sending Transactions to Private Mempool (Priority Fee)

    Learn how to add tips to transaction while sending to private mempool

    Priority fees incentivize builders to include your transaction faster and position it more favorably within a block. Adding a tip to your private transaction provides three key benefits:

    • Higher inclusion probability: Builders prioritize transactions with higher fees

    • Better block positioning: Achieve positions 1–2 more reliably

    • Faster confirmation: Reduce waiting time for transaction inclusion

    They are Two approaches exist for adding priority fees to private transactions:

    Method
    Best For
    Trade-offs

    Choose the appropriate method based on your use case:

    Learn how to submit transactions via or method to the private mempool.

    Unified Multichain Endpoint

    GetBlock Unified Multichain Endpoint: use one URL for every node and chain in your stack.

    A Unified Multichain Endpoint gives you one URL and one credential for every node and chain in your stack. Instead of managing a separate endpoint and key per network, you point at a single base address and name the chain you want in the request.

    A multichain application usually collects endpoints as it grows. Each chain brings its own URL, its own access token, and its own security settings, and every new network adds another entry to configure, rotate, and keep in sync. The complexity is not in any single endpoint; it is in the growing set of them.

    This add-on collapses that set into one. You keep your dedicated nodes, but you reach them through a single unified endpoint. You select the target chain with a subdomain, a path, or a chain-id parameter, and one credential authenticates across all of them.

    Security follows the same principle. You set your rate limits and your IP allowlist once on the unified endpoint, and the policy applies to every chain behind it, rather than being configured network by network.

    Benefits

    • One URL template. Your client code holds a single pattern, not one URL per network.

    • One credential. A single token authenticates across all your chains.

    • One security policy. Rate limits and the allowlist are set once and cover every chain.

    • Less configuration drift. Adding a chain does not add another endpoint and key to track.

    • You build a cross-chain application, a wallet, or an aggregator.

    • You run an indexer that reads several chains.

    • You manage one endpoint and one key per network today, and the overhead slows you down.

    • If you use a single chain and expect to stay on it, one standard endpoint is enough.

    • One shared credential across chains is convenient, but it also concentrates access. Scope it carefully and rotate it on a schedule.

    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 and get one of the 100+ available chain endpoints.

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


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

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

    Crypto Address Audit: Risk & Compliance APIs

    Crypto Address Audit is GetBlock's risk and compliance suite for screening blockchain addresses before any interaction.

    Crypto Address Audit is GetBlock's AI-powered risk and compliance suite that screens wallets and smart contracts for fraud risk, AML exposure, and rug pull detection in a single API.

    The service runs on pure on-chain behavioral analysis with no source code review and no off-chain data, across Ethereum, BNB Smart Chain, and Base.

    1. Wallet Audit

    A complete behavioral profile of a wallet address. Returns a trust score, AML check across 18+ parameters, behavioral risk profile (Risk Willingness, Experience Level, Risk Capability), protocol interaction history, transaction breakdown by category, and predictive intentions.

    BSC Accelerated Dedicated Node

    GetBlock's BSC Accelerated Dedicated Node enables users to have direct access to fast, robust, and high-performance network layers.

    BSC accelerated node is a high-performance dedicated node deployed on top of high-speed networking layers via the Blockchain Distributed Network (BDN). It observes state changes, mempool activity, and block production events significantly faster than standard peer-to-peer setups, serving traders, validators, dApps, and more with low latency.

    Interested in building on BSC using an Accelerated Dedicated Node? for more information.

    In a standard setup, your node receives data through the BSC peer-to-peer gossip network:

    With BDN Gateway acceleration, your node receives data through two channels simultaneously:

    Your dedicated node receives data from both the BDN fast path and the standard P2P layer, ensuring it always has the freshest state available.

    Overview

    Learn what each GetBlock add-on does, the problem it solves, and which blockchain it serves

    An add-on extends your node with a capability that the standard JSON-RPC API does not provide: a second API layer, an address indexer, a bundler, a private mempool, or a real-time stream. Each add-on solves one specific problem that a standard node cannot solve on its own.

    Add-on
    It solves
    Blockchain

    Configuring dedicated nodes

    Deploy dedicated nodes from your GetBlock Dashboard. Fully self-service. This guide covers customizing your node settings and completing the setup process.

    To deploy a private blockchain server, switch over to the ‘Dedicated Nodes’ tab in the Dashboard.

    Select a blockchain protocol from the list or click Create new node to begin the setup process from scratch. A dedicated node setup modal will open.

    In the setup window:

    1. Select the blockchain protocol and the network type (e.g., mainnet, testnet, devnet, etc)

    Dedicated node performance tiers

    GetBlock’s Dedicated Nodes are available in two performance tiers – High and Standard. Choose the right balance of performance and cost for your private infrastructure

    Dedicated Nodes are fully private blockchain nodes deployed and managed for your team. With two distinct performance presets, you can balance throughput, SLA, and budget to fit your workload.

    Available tiers:

    1. High Performance Tier: Designed to provide maximum available resources, throughput, and reliability. It is intended for applications where performance and availability are critical. The focus is on delivering the highest service levels and supporting the most demanding production workloads.

    Advanced Analytics

    A private Grafana workspace for your dedicated node. It shows how your node is used in real time.

    Advanced Analytics is a private Grafana workspace for your dedicated node. It records every request the node handles and turns that raw activity into a clear picture of how your node is used, in real time. Without it, a dedicated node is a black box: it serves your traffic, but you cannot see the shape of that traffic or where it strains. It shows request counts, latencies, and errors.

    You see the data as time-series charts, which gives you a more readable and understandable in-depth analysis. You can tell which requests consume more compute units(CU).

    The add-on measures every request and stores it as a time series. It then lets you view that data along three dimensions:

    1. by RPC method,

    IP Allowlist

    GetBlock IP Allowlist: a network security control that restricts access to your RPC endpoint based on the source IP address of each request.

    An Internet Protocol (IP) allowlist is a network security control that restricts access to your RPC endpoint based on the source IP address of each request. When the allowlist is active, only requests from addresses you have approved can reach your node. Every other request is blocked at the gateway, before it reaches the node and before any processing takes place. In effect, it is a "friend or foe" filter based on where the request comes from.

    This adds a layer of defense beyond your access token. A token authenticates who is calling. An allowlist controls where the call comes from. Together they mean that a leaked token is not enough on its own: an attacker would also need to send the request from an approved network.

    1. You add one or more entries to the allowlist. An entry is a single IP address, such as 203.0.113.10

    eth_getUserOperationReceipt

    Get the receipt for a UserOperation

    eth_supportedEntryPoints

    List the EntryPoint contracts the bundler supports

    No node required: In standalone mode you receive data without the cost and the operations of a full Solana node.

    You run high-frequency analytics that need the earliest possible data.

    Solana only: Shreds are a Solana concept; the service does not apply to other chains.

    Protocol

    UDP (raw shreds)

    Access modes

    Dedicated node add-on · standalone credit-based service

    Available Regions

    eu-central-1, us-east-1, ap-southeast-1

    Two ways to use it

    How the standalone service works

    Benefits

    When to use it

    Limitations

    Delivery

    Recommendation — a plain-language interpretation and suggested review level based on the score. It highlights what to examine but does not automatically tell you to accept or reject the wallet.
  • Owner — the known entity believed to control the address, such as an exchange or service. An owner is an identity signal and does not have its own risk score.

  • Cluster — a group of addresses linked through common control or on-chain behaviour. Unlike an owner, a cluster has its own risk score and can raise the wallet’s total score even when the address has little history or no risky current balance.

  • Labels — external-list memberships associated with the address, such as an issuer freeze, sanctions reference, or functional role such as contract deployer. Critical labels are highlighted, but a label is not automatically a risk score or proof of wrongdoing.

  • Why this score — the principal wallet-wide drivers, including FATF category matches, cluster risk, and confirmed external reports. Each driver has its own impact level; these values do not add up directly to the total score.

  • FATF indicators — flagged counterparties grouped by category, direction of funds, interaction count, and risk level. Rows are evaluated independently and should not be added together.

  • Wallet exposure — a composition view showing each category’s share of the screened historical exposure. These percentages are exposure shares, not risk scores and not percentages of the current wallet balance.

  • Calculation ID and PDF export — the calculation ID identifies the exact screening result. Save it with the PDF and timestamp so the decision can be reconstructed later.

  • Pick a network — ETH, TRX , BTC, LTC, BCH

    02

    Paste a wallet or transaction — an address or a transaction hash.

    03

    Read the report — a risk score, exposure breakdown, and FATF flags in seconds.

    Reading the result screen

    Every check can be exported as a PDF — address, score, exposure breakdown and flags — ready to attach to a case file. Checks are also stored server-side under your account.

    Telegram bot (coming soon)

    Reports are generated for informational purposes only. Risk scores are probabilistic and provided "as is" — they must not be the sole basis for regulatory, legal or financial decisions.

    When to use it

    Limitations

    RPC API methods
    GetBlock dashboard,
    Automatic RPC Failover
    Dedicated Nodes
    How to add CU to your GetBlock RPC node package balance
    Switching from free GetBlock plan to higher limit plans
    Increasing RPC node limits
    Customizing GetBlock's Enterprise plan usage limits

    Multi-region geo-routing: Traffic is routed to the nearest healthy node across Europe, the USA, and Asia.

  • Fixed pricing: Flat monthly or yearly fee with no usage-based charges.

  • 24/7 support: Priority coverage with a response time under 5 minutes.

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

  • Predictable pricing:

    • Full Node: from $1,000/month;

    • Archive Node: from $1,500/month.

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

  • Priority assistance from GetBlock experts

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

    Limitless Node

    Limitless Node fits workloads with high but predictable request volumes, where a Shared plan's Compute Unit billing is hard to forecast, but a full Dedicated Node is more than you need.

    Dedicated Nodes

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

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

    Enterprise solutions

    Compute Units (CU)
    Enterprise Solutions page
    GetBlock's blockchain RPC Plan without request limits
    What does it cost to deploy a private blockchain node
    GetBlock shared RPC node pricing and plans

    Use cases

    Simple transfers, individual swaps

    Arbitrage, multi-step operations

    Adding priority fees

    Via Multicall3

    Separate transaction in bundle

    mev_builders format

    Array: ["all"]

    Object: {"all": ""}

    Multicall3

    Most use cases

    Single nonce, atomic execution, slightly higher gas

    Bundle

    Advanced scenarios requiring separate transactions

    Two nonces, more complex setup

    Method

    bsc_privateTx

    mev_sendBundle

    Transaction count

    Single

    Multiple

    Atomicity

    Not applicable

    Choosing a Method

    Different Between Bundles and Transactions

    Next Steps

    Multicall3
    Bundle

    All-or-nothing execution

    by access key,

  • and by region

  • So you can move from a high-level number down to the exact cause behind it.

    Three core signals sit at the center of the workspace:

    • Request volume: how many calls the node receives over time.

    • Latency: shown as percentiles (p50, p95, p99) rather than a single average. An average hides the slow requests; percentiles expose the tail where real problems live.

    • Error rate: the share of requests that fail.

    The per-method view shows which calls cost you the most; heavy methods such as debug_traceTransaction and eth_getLogs stand out here. The per-key view shows which client or service drives your traffic. The per-region view shows where your users connect from.

    The value comes from following one signal to its source. Say your p99 latency jumps at 14:00. You open the per-method view, filter to that window, and find that eth_getLogs latency tripled while everything else held steady. You now know exactly what to optimize, and you never had to guess.

    • Cost attribution. Assign traffic to a team, a customer, or a feature by looking at the per-key view.

    • Real capacity planning. Size the node from measured traffic rather than an estimate.

    • Faster debugging. Trace a latency spike to the method behind it in a single view.

    • Abuse detection. Spot a key that starts sending abnormal traffic, with the data to prove it.

    • You want to attribute cost to a team, a customer, or a feature.

    • You plan capacity and need real numbers.

    • You debug latency spikes and need to find their cause quickly.

    • You suspect one key is behaving abnormally and want evidence.

    Analytics gives you visibility, not control. It shows you what is happening; it does not block or shape traffic. When you need to act on what you see — to restrict access or stop abuse — pair it with the IP Allowlist. And because it works from real traffic, a node with very low, steady volume gains little from it.

    How it works

    Benefits

    When to use it

    Limitations

    , or a whole subnet in Classless Inter-Domain Routing (CIDR) notation, such as
    203.0.113.0/24
    . The add-on supports both IPv4 and IPv6.
  • On every incoming request, the gateway compares the source IP against your list. A match lets the request continue to the node. No match returns an access error (403 Forbidden) and the request stops there. Because the check runs at the gateway, a rejected request never consumes your node capacity or your quota.

  • The allowlist follows a deny-by-default posture. When the list is empty, the node behaves as normal. As soon as you add the first entry, the node accepts only the addresses on the list and rejects the rest.

    A few things to plan before you configure the allowlist:

    • Account for every trusted network: List each environment that calls your node: production backends, staging, workers, and any third-party service that makes requests on your behalf. An address you forget is an address that gets blocked.

    • Do not lock yourself out: If you administer the node from a fixed IP, add that IP before you rely on the list.

    • Plan for addresses that change: Some cloud hosts and office connections use addresses that rotate over time. For those, use a CIDR range that covers the expected pool, or route the traffic through a gateway with a static egress IP.

    • Protection if your endpoint leaks: Even if your URL or token reaches the wrong hands, an unauthorized server cannot use it, because its requests do not pass the IP filter.

    • Protection against quota theft and abuse: No outside party can burn through your request limits from an address you did not approve.

    • Defense in depth: The allowlist works on top of token authentication. An attacker would need to steal the token and operate from an allowed IP.

    • Explicit access control: You decide exactly which servers and environments can reach the endpoint.

    The allowlist fits server-side workloads with stable, known addresses: backends, workers, indexers, other nodes, and corporate networks. For example:

    1. You work in a regulated field such as payments, custody, or exchange operations.

    2. Your backend runs from static egress IPs.

    3. You need to prove that only approved systems reach your node.

    The allowlist does not fit clients with dynamic IPs, such as mobile apps and browser-based dApps. In those cases, the request comes straight from the end user's device, and the address changes constantly, so there is no stable list to maintain. For those cases, use token authentication together with referrer or origin restrictions instead.

    How Node Allowlisting Works

    Before you begin

    Benefits

    When to use it

    Limitations

    Archive mode availability & coverage

    If you need an archive data for a chain not covered by shared Archive mode, request a Dedicated Node. Dedicated Nodes can be deployed in archive mode for any supported blockchain and come with additional benefits like:

    1. Full blockchain history at the highest throughput

    2. Unlimited query capacity

    3. Custom node builds & tooling

    How to enable the Archive mode

    CU billing for Shared Archive endpoints

    Best practices

    💬 Need help with archive blockchain data?

    eth_getBalance
    endpoint setup
    CU limits and performance characteristics
    Compute Units
    Tell us
    Archive blockchain data access via GetBlock RPC endpoints
    Get RPC endpoint button on GetBlock's dashboard
    history/clock icon
    eth_getStorageAt
    eth_getCode
    eth_call

    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.

  • 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.

  • Alerting & notification systems;

  • DeFi strategy engines;

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

  • Yellowstone gRPC API features

    Solana Geyser gRPC plugin use cases

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

    Why use Yellowstone gRPC API?

    getTransaction
    getProgramAccounts

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

    How to use the JS config with Hardhat

    Access token management
    GetBlock Deploys Major Security Upgrade: Introducing Access Tokens
    Archive mode guide
    How to create a node endpoint for blockchain API access
    GetBlock RPC endpoint setup interface
    Blockchain RPC nodes list within the GetBlock account

    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/

  • Experience less downtime, even during busy network periods

  • RPC URL

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

    https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>/

    Chain ID

    The ID of the network

    1101

    Add GetBlock RPC to an existing network

    Add a new network to MetaMask

    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:

    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
    How to get a custom RPC URL for MetaMask
    curl -X GET https://shared.eu-central-1.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://shared.eu-central-1.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://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
        },
        goerli: {
          url: `https://shared.eu-central-1.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
      }
    }
    EU (Frankfurt):   https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>/
    US (New York):    https://shared.us-east-1.getblock.io/<ACCESS_TOKEN>/
    Asia (Singapore): https://shared.ap-southeast-1.getblock.io/<ACCESS_TOKEN>/
    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
      --header 'Content-Type: application/json' \
      --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_chainId",
        "params": [],
        "id": "getblock.io"
      }'

    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.

    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, Frankfurt, Singapore, and New York endpoints 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.

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


    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.


    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.

    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.

    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

    Before you start

    Download Brave and set up the wallet

    https://account.getblock.io/
    official website

    Get a custom RPC API endpoint

    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.

    Modify an existing EVM network

    Add a new EVM network

    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 and suggest it.

    Learn more about Wallet Audit, check out it docs, or access its endpoint
    1. Wallet Risk

    A faster, lighter check focused on a single binary outcome: is this address safe to interact with? Returns a risk score and the flags that drove it. Use this when latency matters and a full audit is more than the use case needs — payment flows, point-of-sale, real-time wallet connect.

    Learn more about Wallet Risk, check out it docs, or access its endpoint

    1. Rug Pull Checker

    A predictive check for smart contract and liquidity pool addresses. Analyzes the on-chain behavior of the contract creator and individual liquidity providers — tracing through intermediate contracts to the source wallet — and returns a rug pull risk score (0–100), risk level (LOW / MEDIUM / HIGH), creator trust score, per-LP trust scores, and behavioral flags. The underlying AI model is trained on 336K smart contracts.

    Learn more about Rug Pull Checker, check out it docs, or access its endpoint

    Two ways to use Crypto Address Audit, depending on the workflow.

    1. Via the Dashboard: This runs a check on the wallet/contract address through the UI. Paste an address, and run the check. No code required. Best for ad-hoc analysis, manual due diligence, and trying the service before integrating it.

    2. Via the API — one POST request per address, JSON response. Best for production integration into a DeFi protocol, wallet, launchpad, or any product that needs to screen addresses programmatically. Access the available endpoints here.

    Crypto Address Audit uses a single subscription that covers all three services with a single API key.

    Each user gets 5 free requests per day. After the free quota is used, each request costs $0.20 USD, deducted from the prepaid balance.

    Parameter
    Value

    Free daily quota

    5 requests

    Price per request

    $0.20 USD

    Billing method

    Prepaid balance

    1. On your account dashboard, click on the credit balance as seen below:

    1. Click on Top Up

    1. Select the amount you want to pay or enter the amount:

    1. After that, click on Proceed to checkout

    2. You'll be routed to another page to complete your payment

    1. Once you've completed your payment, go back to your dashboard to see it reflected.

    1. Wallet Audit Doc

    2. Wallet Risk Doc

    3. Rug Pull Checker Doc

    4. Address Audit API Reference

    Choose Your Crypto Audit API:

    How to Access

    Pricing & Limits

    How to Top Up Your Prepaid Credit

    Need a custom setup (higher rate limits, dedicated infrastructure, SLA, or volume pricing)? .

    Next Step

    Connection: We connect your dedicated node's P2P interface to the GetBlock Data center.

  • Data Flow: The node receives transactions and blocks from both the standard P2P layer and the BDN propagation network.

  • Automatic Selection: Your node automatically uses the first source to deliver data.

  • The BDN Gateway improves the delivery speed of:

    Data Type
    Description
    Impact

    New Blocks

    Block headers and transactions

    React to state changes faster

    Mempool Updates

    Pending transactions

    See opportunities earlier

    1. Traders: To buy and sell tokens faster and submit transactions

    2. Developers: To build a lower-latency dApp, access fresher data, and deliver more responsive user experiences

    3. Validators: To receive transactions and block earlier than other validators and improve participation and rewards.

    Node acceleration directly benefits latency-sensitive applications:

    • Trading Bots: React to price movements and arbitrage opportunities faster

    • Liquidation Systems: Monitor positions with fresher state data

    • Analytics Pipelines: Process blocks and transactions with minimal delay

    • MEV Strategies: Observe mempool activity before competitors

    While node acceleration improves data reception passively, you can further improve your dApp or workflow by:

    • Subscribing to real-time streams for direct access to BDN data

    • Submitting transactions to public mempool with accelerated propagation

    • Using private transactions for MEV protection or without MEV Protection

    How It Works

    Architecture Details

    Reach us

    What Accelerated Node Gets:

    Who is this for:

    Benefits for Your Workloads

    No Action Required

    • Automatic: Enabled when you provision an accelerated dedicated node

    • Transparent

    What to do With Accerelated Node

    A plain node cannot answer address or wallet queries

    UTXO chains (Bitcoin-type)

    Standard clients do not serve account-abstraction methods

    EVM chains

    Data a contract never emitted does not exist on-chain

    EVM chains

    Bots see your transactions in the public mempool

    EVM chains

    Standard RPC and WebSockets report Solana events too late

    Solana

    Since the Merge, an Ethereum node runs as two coupled clients: the execution layer, which processes transactions and serves the familiar eth_* methods, and the consensus layer, which runs Proof-of-Stake. A standard node only exposes the execution layer. The Beacon API add-on opens the consensus layer alongside it, so a single dedicated node answers both.

    A Bitcoin-type node tracks unspent transaction outputs, but it does not organize them by address — ask a plain node for the balance of an address and it has no direct way to reply. Blockbook, an indexer built by Trezor, maintains an address-indexed and xpub-indexed view on top of the chain and answers those questions from its index.

    Account abstraction lets a smart contract act as a wallet — enabling gasless transactions, third-party gas sponsorship, and custom validation logic — but standard clients such as geth and reth do not understand UserOperations, so they cannot serve the ERC-4337 methods. This add-on runs a bundler as a sidecar next to your node: it validates UserOperations, holds them in its own mempool, and settles them on-chain through the EntryPoint contract

    If a contract shipped without an event you now need — a missing Transfer log, an unindexed state change — that data does not exist on-chain, and re-deploying a fixed contract cannot rewrite the past. Overlay methods take the real historical state and replay it through your version of the contract: the chain's inputs stay real, only the contract logic changes, and out come the logs the original contract would have emitted.

    A pending transaction normally waits in the public mempool, where MEV bots watch for trades they can exploit — front-running your trade, sandwiching it between two of their own, or back-running the price gap it opens. Every one of those attacks depends on the bot seeing your transaction while it waits. MEV Protection routes your transactions through a private mempool, in partnership with Merkle, so a searcher never sees them and has nothing to attack.

    Yellowstone gRPC is a high-performance Solana Geyser plugin, built by Triton One, that streams on-chain data directly from validators with millisecond-level latency—often hundreds of milliseconds faster than standard RPC or WebSocket APIs —and can handle millions of events per minute.

    In the dedicated node configurator, Step 3 (Select API and Add-ons) lists the add-ons available for your chain — check the ones you need. For a node that is already running, open the node's Add-ons tab in the Dashboard: from there you can add a new add-on, cancel an active one, or create an endpoint for it. Included add-ons come at no extra cost depending on your configuration; advanced add-ons are billed in addition to the base node price.

    Beacon API

    The eth_* API cannot see validators, slots, or finality

    Every add-on in this section is blockchain-specific: it exists for one chain or one family of chains, and the configurator offers it only when your node runs a chain it supports. For services that work on every blockchain, see Extra Services for Dedicated Nodes.

    The add-ons at a glance

    Ethereum

    What each add-on gives you

    1.

    2. — UTXO chains

    3. — EVM chains

    4. — EVM chains

    Overlay Methods is not a plugin on top of a standard node. It is a separate custom reth build (Oregon) that replaces the standard dedicated node. The catalog lists it as an add-on for consistency.

    5. — EVM chains

    6. — Solana

    How to enable an add-on

    Customize your dedicated node with the following options:

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

    2. Pick a deployment location: Germany (Frankfurt), USA (New York), Singapore

    3. Node client: Choose your preferred node implementation (e.g., Geth)

    4. API interface: Review available interface types

  • Under the Performance section, select a performance tier:

    1. High: premium specs, max throughput

    2. Standard: enterprise specs, optimized pricing for moderate-high loads

  • Choose a subscription length — 1, 6, or 12 months — at the top of the summary panel (available discounts are applied automatically)

  • Verify all selected configurations in the summary section and proceed to the next step.

    On the Add-ons screen, you can extend your node with additional capabilities:

    • Included add-ons are available at no extra cost depending on your configuration

    • Advanced add-ons are billed in addition to the base node price

    Select any add-ons you need and click Next.

    On the final screen:

    1. Review the final pricing and node settings

    2. Billing Contact — Enter your contact information so the GetBlock team can notify you when your node is ready.

    3. Payment method — Choose between Credit Card or Crypto.

    4. Subscription — Enable the subscription toggle if you want to ensure your node renews automatically each billing cycle.

    5. When ready, click Go to Payment.

    Once payment is confirmed, the deployment status will be visible on your Dashboard → Dedicated Nodes tab and Pricing → Manage Plans. Track the payment status from Pricing → Payment History.


    Once your node is deployed, it appears in the left-hand sidebar. Each node has its own page — select a node from the sidebar to open it.

    Three tabs are available for managing the node:

    1. Endpoints: lists all endpoints associated with your node. To add a new one, click + Get endpoint. You can create multiple endpoints per node with different API interfaces. Endpoints for add-ons can also be created from this tab.

    2. Add-ons: the central place to manage all add-ons. From here you can add a new add-on to an existing node, cancel an active add-on, create an endpoint.

    3. Statistics: provides a detailed breakdown of usage metrics for your node.

    Use the Invoices and Subscription buttons in the top-right corner of the node view to manage billing.

    Step 1: Configure your node

    How to set up a private blockchain node with GetBlock
    GetBlock dedicated node configuration tool

    Step 2: Select add-ons

    Step 3: Payment

    You can also create additional dedicated nodes by repeating these steps. If additional support is required during setup, you can contact the GetBlock support team directly from your dashboard.

    Managing your dedicated node

    Standard Performance Tier: Designed to offer enterprise-grade performance sufficient for the majority of professional and business use cases, but at a more cost-efficient level. It targets demanding business applications and sustained usage, but without the additional (and sometimes excessive) headroom reserved for High Performance tier.

    By providing these options, GetBlock helps you to deploy Dedicated Nodes that are tailored to your application’s technical, operational, and budget requirements.


    When deploying a Dedicated Node, you can choose between High and Standard setups to align with your application’s resource needs and expected workload.

    • Select High if your workload is latency-sensitive, demands very high concurrent throughput, or is critical to business continuity.

    • Select Standard for typical production apps, where workload is within supported performance bounds.

    Configuring tiers is available for all supported protocols unless there are specific infrastructure limitations for a given network. In this case, a chain will only support a single tier.

    Feature
    High Performance
    Standard Performance

    Resource allocation

    Maximum hardware and bandwidth

    Balanced hardware profile

    Throughput

    Highest supported


    Dedicated Nodes are billed at a set monthly rate determined by configured settings:

    1. Performance tier: Total cost scales with the performance tier selected – High tier is priced at a premium relative to the Standard tier.

    2. Blockchain network: Each protocol has different hardware requirements, which impact both High and Standard tier pricing.

    3. Node mode: Full or Archive.

    4. Client parameters.

    Refer to your Dashboard for up-to-date pricing details and protocol-specific options.

    Dedicated Node pricing in the GetBlock Dashboard

    To select a tier during node setup, open the Dedicated Node dashboard:

    1. Select protocol, network, deployment region, node mode, and a preferred client.

    2. As a final step, choose the Performance Tier (High or Standard).

    1. Review updated performance and pricing details.

    Your dedicated node will be ready for use upon activation. To switch between tiers after deploying, reach out to support.


    For advanced workloads or unique requirements, our engineering team can help craft a custom private node solution beyond the High/Standard presets. Contact us for tailored deployments.

    Dedicated Node tiers overview

    Always check available configurations in your dashboard

    Reference High vs Standard tier comparison

    Dedicated Node pricing

    Monthly costs are always shown during configuration in the Dashboard for each supported network and region.

    Steps to configure dedicated node tiers

    Need a more customized setup?

    Migrate to GetBlock with AI
    claude mcp add --transport http getblock-docs https://docs.getblock.io/~gitbook/mcp
    {
      "mcpServers": {
        "getblock-docs": { "url": "https://docs.getblock.io/~gitbook/mcp" }
      }
    }
    {
      "servers": {
        "getblock-docs": { "type": "http", "url":
      }
    }

    Flashblocks API

    Flashblocks API on the Base network: fetch the latest in-progress block, including all preconfirmed transactions. Quickstart examples in JavaScript and Python

    This section contains all the Flashblock methods available on the Base network

    Flashblocks are simply a class of RPC API methods that are now active on GetBlock endpoints for Base and Optimism. If you already run either chain with GetBlock, the new methods are available on your existing endpoint; if you are new, set up a Base or Optimism endpoint from the and the methods are there.

    Quickstart

    In this section, you will learn how to fetch the latest Flashblock — the current in-progress block containing every preconfirmed transaction — using either:

    • Axios (JavaScript / Node.js)

    • Python (Requests library)

    Before you begin, you must have already installed or on your local machine (for the Axios example) or Python and pip (for the Python example).

    1
    2
    3

    Create a new file named index.js. This is where you will make your first call.

    4

    eth_unsubscribe - Flashblocks

    Example code for the eth_unsubscribe Flashblocks method. Complete guide on how to use eth_unsubscribe Flashblocks in GetBlock Web3 documentation.

    This cancels a subscription created with eth_subscribe. The subscription ID is no longer valid after this call.

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    Status Code
    Error Message
    Cause

    Overview

    Solana Market Data gives you low-latency, ready-to-use market data from Solana without the need to build and maintain your own indexing and data-processing infrastructure.

    Instead of working with raw blockchain transactions, decoding different DEX programs, and building aggregation pipelines yourself, you can consume already processed market data through a simple API.

    Solana Market Data is designed for applications that need live and recent trading data — from trading dashboards and analytics platforms to automated and agentic trading systems.

    What you can get

    Solana Market Data provides trading information aggregated across supported Solana venues.

    Depending on how much processing you want to handle yourself, you can work with:

    Topic
    Description
    Required parameters

    You can choose between lower-level trade data and higher-level market metrics that are already calculated for you.

    Building the same pipeline yourself requires you to collect Solana transactions, support multiple trading venues, decode swaps, normalize the data, and continuously calculate market metrics.

    Solana Market Data handles this processing for you.

    This allows you to focus on building your:

    • trading application;

    • analytics platform;

    • market dashboard;

    • trading strategy;

    Getting started is straightforward:

    1. Activate Solana Market Data and get access with your API key.

    2. Choose the data you need — for example Trades, VWAP, Volume, or Candles.

    3. Query or stream the data using HTTP, WebSocket, or Yellowstone-compatible gRPC.

    If you need
    Use

    Explore the available Market Data methods, learn how to connect to the API, or try the service directly in the Playground.

    StreamFirst

    An infrastructure for delivering the fastest on-chain updates by combining software-level acceleration (Fast Yellowstone) with optimized network traffic and routing (via shred-stream).

    StreamFirst is GetBlock's infrastructure solution for delivering faster (ultra-low latency) on-chain state updates from the Solana blockchain.

    By combining software-level acceleration with network-level optimization, StreamFirst enables developers to receive blockchain data faster than traditional RPC methods. This reduces the consistent polling updates, which either lead to timeouts or rate-limiting issues.

    Interested in building on Solana with StreamFirst? Reach us for more information.

    Core Stack

    StreamFirst consists of two core optimization layers:

    1. Software-level acceleration: Accelerated Yellowstone gRPC implementation

    2. Network-level acceleration: Optimized shred-stream delivery via direct validator connections.

    StreamFirst optimizes the entire pipeline from validator broadcast to application delivery:

    • The network layer ensures the earliest possible data reception

    • Software layer ensures minimal processing latency

    • Result: Fastest end-to-end delivery of on-chain state updates

    Yellowstone is a high-performance Geyser plugin that streams real-time blockchain data via gRPC interfaces. As a result of our partnership with the core Yellowstone team members, GetBlock's Accelerated Yellowstone implementation includes:

    • Optimized data serialization: Optimized the original version of the low-level logic to improve the speed of state updates compared to the original Yellowstone implementation, and reduced overhead in encoding and transmitting blockchain state.

    • Enhanced filtering mechanisms: More efficient subscription management for accounts, transactions, slots, and blocks

    • Improved connection handling: Better resource management for sustained high-throughput streams

    Solana validators propagate blocks by breaking them into small fragments called "shreds" and distributing them via the Turbine protocol. StreamFirst taps into this raw data stream:

    • Direct shred reception: Receives block fragments (shreds) via UDP as validators broadcast them.

    • Early state reconstruction: Rebuilds block data before it's fully confirmed and distributed via standard RPC

    GetBlock operates as a top-tier Solana node provider in Frankfurt, a zone with the highest density of Solana validator stake. This strategic positioning provides:

    • Proximity to major validators: Direct access to high-stake validators concentrated in the region

    • Ultra-low network latency: 6ms latency within Europe

    • Optimal shred reception: Positioned to receive validator broadcasts with minimal delay

    The combination means you get blockchain state updates as validators are producing blocks, not after they've been fully processed and distributed.

    Data Flow:

    1. Block Production: Solana validators produce blocks and fragment them into "shreds."

    2. State Reconstruction: Shreds are decoded and reassembled into transactions and account updates

    3. Accelerated Processing: Optimized Yellowstone plugin processes data with reduced overhead

    Traditional RPC methods introduce latency at multiple stages:

    • Waiting for block confirmation

    • HTTP request/response overhead

    • JSON parsing and serialization

    StreamFirst bypasses these bottlenecks by:

    • Receiving data at the validator propagation speed

    • Using binary gRPC protocol (faster than JSON)

    • Streaming continuously without polling

    StreamFirst is ideal for applications where milliseconds matter:

    • High-frequency trading bots: React to price changes before slower competitors

    • MEV searchers: Identify arbitrage opportunities in real-time

    • DeFi protocols: Monitor liquidation events and oracle updates instantly

    StreamFirst supports all standard Yellowstone gRPC subscription types:

    • Account updates: Monitor balance changes, data modifications, and ownership transfers

    • Transaction streams: Receive all transactions or filter by program/account

    • Slot updates: Track block production and commitment levels

    StreamFirst is available as an add-on for GetBlock's dedicated Solana nodes. It's configured as a plugin in the node configurator and requires:

    • Dedicated node subscription

    • Geographic proximity to GetBlock's validator network for optimal performance

    • Additional fee based on data throughput requirements

    StreamFirst gives developers a competitive edge by delivering Solana blockchain data at near-validator speed. The combination of accelerated Yellowstone software and optimized shard-stream networking, optimized shred-stream networking, and strategic Frankfurt positioning ensures low latency between your customer and dedicated node. This ensures your dApp has the earliest possible view of on-chain activity—critical for time-sensitive operations in DeFi, trading, and real-time analytics.


    For consultation on optimal deployment architecture for your specific use case, contact

    Getting Started

    This guide walks you through the basic steps required to start using Solana Market Data.

    1. Activate Solana Market Data

    Choose Solana Market Data in your GetBlock account and activate a subscription. You can pay using whichever option works best for you:

    • Card

    • Crypto

    • Prepaid credits

    Select your preferred payment method in the side drawer and complete the purchase.

    Once the subscription is active, your API key will be enabled for Solana Market Data.

    Solana Market Data returns market information for a specific token pair.

    To choose the market you want to track, provide the mint addresses for:

    • Base Mint — the asset you want to analyze

    • Quote Mint — the asset used to price it

    For example, to receive market data for SOL/USDC, select the corresponding SOL and USDC mint addresses as your base and quote assets.

    The selected pair is then used across the available methods, such as Trades, Blocks, VWAP, TWAP, Volume, and Candles.

    Solana Market Data provides several levels of processed market information.

    Choose the method that best matches your use case:

    Method
    Best for

    You can access Solana Market Data through several protocols.

    Use HTTP when you need a single response or want to retrieve the latest available data.

    Typical use cases include:

    • getting the current VWAP;

    • retrieving recent trades;

    • loading data when your application starts.

    Use WebSocket when you need continuous live updates.

    It is suitable for:

    • live dashboards;

    • trading interfaces;

    • continuously updated charts;

    • real-time market monitoring.

    Use the gRPC interface for server-side streaming and integrations that already use a Yellowstone-style workflow.

    It provides processed Solana market data while allowing you to keep a familiar streaming integration model.

    The parameters depend on the selected method, but most requests start with a few common choices:

    • the base token;

    • the quote token;

    • the market data method you want to use;

    For example, you can request market data for:

    and then choose whether you want Trades, VWAP, Candles, or another available metric.

    The easiest way to explore Solana Market Data before writing code is through the Playground.

    Use it to:

    1. choose a method;

    2. select a token pair;

    3. configure the available parameters;

    4. send a query or start a stream;

    The Playground uses the same concepts exposed through the API, making it useful for understanding a method before integrating it into your application.

    Once you know which data you need, use the corresponding API method from your application.

    A typical integration looks like this:

    For exact request parameters, response fields, and streaming behavior, continue to the documentation for the specific Market Data method or see the API Reference.

    Overview

    GetBlock Crypto AML is a compliance-grade risk-screening service for crypto addresses and transactions

    GetBlock Crypto AML is a compliance-grade risk-screening service for crypto addresses and transactions. It evaluates wallet addresses or transaction hashes and sends a detailed structured risk report thats contains a composite score, an exposure breakdown, and FATF-aligned flags within seconds.

    It is built to give small teams, exchanges, OTC desks, and individual traders the same FATF-aligned data and scoring as large compliance vendors, but without KYB, annual contracts, or lengthy onboarding.

    Before you accept, send, or clear crypto funds, you will have to answer this question:

    has this wallet been used by sanctioned entities, darknet markets, mixers, ransomware, or scams?

    Crypto AML answers that by tracing the address's on-chain history, wallet-to-wallet links, direct counterparty interactions, and public sanctions data — then condensing it into a decision-ready report.

    Typical uses:

    • Screen a counterparty before a transfer, while it is still reversible.

    • Safely accept incoming funds so a downstream exchange doesn't flag or lock the deposit.

    • Onboard customers / KYT — screen wallets during onboarding or ongoing monitoring.

    Crypto AML currently covers five networks — chosen because they carry the bulk of emerging-market exchange and remittance volume:

    Tag
    Network

    The engine combines on-chain and off-chain data:

    • On-chain: behavioral patterns, wallet clusters, counterparty flow, smart contract exposure, etc.

    • Off-chain: sanctions feeds, public attribution data, law-enforcement intelligence.

    Choose the access method that fits your workflow:

    • Web — Select a network, enter a wallet address or transaction hash, and view the report. Export a PDF and keep an audit-ready history in your account.

    • REST API — Integrate bearer-authenticated screening endpoints into your backend.

    Choose a pricing model:

    • Pay as you go: Top up your prepaid balance with a card or crypto. Each check deducts credits.

    • Bulk packages: Buy checks upfront for a lower per-check rate. Larger packages receive larger discounts. Reach out to the

    Overview

    Learn more about extra services specifically for GetBlock dedicated nodes

    A GetBlock dedicated node gives you isolated compute for one workload. These extra services extend that node. Each service solves one specific problem that a standard node cannot solve on its own.

    Extra services
    It solves
    Price/mo

    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.

    Yellowstone gRPC is a high-performance Solana Geyser plugin that provides real-time streaming access to on-chain data. Built by Triton One, it delivers blocks, transactions, and account updates with millisecond-level latency directly from Solana validators.

    GetBlock offers managed Yellowstone gRPC endpoints as an add-on to Dedicated Solana Node subscriptions, eliminating the need for infrastructure setup and maintenance.


    • Near-zero latency: Streams data directly from validators, often hundreds of milliseconds faster than standard RPC/WebSocket APIs

    LandFirst

    An infrastructure for fast transaction delivery in Solana through its own intelligent routing mechanism.

    LandFirst is GetBlock's intelligent transaction-routing technology for processing faster transactions on Solana. It works by routing your transactions through multiple optimized delivery paths, including GetBlock’s Stake-Weighted Quality of Service (SWQoS) connections and the Jito auction mechanism.

    Interested in building on Solana with LandFirst? for more information.

    LandFirst automatically routes transactions through three complementary delivery mechanisms:

    1. GetBlock's Own SWQoS Connections

    Optimism Flashblocks.

    Flashblocks-specific RPC methods, WebSocket subscriptions, and the infrastructure stream schema for Optimism pre-confirmations.

    Optimism runs on the OP Stack (chain ID 10), the reference implementation for which Flashblocks' Rollup-Boost sidecar was built. Flashblocks are available on Optimism Mainnet and Optimism Sepolia (chain ID 11155420), served over the standard Optimism RPC interface so existing tooling reads preconfirmed state without modification.

    Transport
    URL
    "
    https://docs.getblock.io/~gitbook/mcp
    "
    }
    : Your existing RPC calls work unchanged
  • Managed: GetBlock handles all Gateway maintenance and updates

  • Your application code remains the same. The improvement happens at the infrastructure layer, giving you faster data without code changes.

    State Transitions

    Account and contract state

    Fresher data for decisions

    Transaction

    Submiting Trsanction

    Submit single transactions or bundles with optimized propagation paths

    LTC

    Litecoin

    BCH

    Bitcoin Cash

    ETH

    Ethereum

    TRX

    TRON

    BTC

    Bitcoin

    Access this service through your GetBlock account using a browser or the REST API. Charges use your existing credit balance.

    The problem it solves

    Supported networks

    More networks are on the roadmap (Solana, Arbitrum, Optimism). The currencyTag used in the API path is the tag from the table above (e.g. ETH, BTC).

    Sources of signals

    For the full model, thresholds, and how these combine into a score, see How risk scoring works.

    Access Crypto AML

    Web and API checks use the same prepaid credit balance.

    Pricing

    Sales team
    Blockbook
    ERC-4337
    Overlay Methods
    MEV Protection
    Yellowstone gRPC API
    Beacon API
    Blockbook
    ERC-4337
    Overlay Methods
    MEV Protection
    Yellowstone gRPC API
    Client Delivery: Structured blockchain data streams to your application via standard gRPC
    NFT sniping tools: Detect new listings and mints before they propagate widely
  • Analytics platforms: Collect comprehensive on-chain data with minimal delay

  • Wallet applications: Show users' balance and transaction updates in real-time

  • Block data: Full block information, including all transactions and metadata
  • Program logs: Subscribe to specific program execution logs

  • How It Works

    Accelerated Yellowstone gRPC

    Shred-Stream Network Optimization

    Frankfurt Data Center - Europe's Solana Hub

    Technical Architecture

    Why StreamFirst is Important for Developers

    Speed Advantages

    Typical latency improvements: 25-30ms faster than standard Yellowstone gRPC

    Use Cases

    Data Types Available

    Deployment and Availability

    Conclusion

    GetBlock support team
    Wallet Audit Homepage
    Wallet Risk Homepage
    Rug Pull Checker Homepage
    Contact the GetBlock team
    GetBlock Dedicated RPC node add-ons
    GetBlock private blockchain server ordering
    How to use GetBlock dedicated nodes

    High

    Uptime SLA

    99.95%

    99.9%

    Recommended for

    Applications with high transaction volumes & large user bases, mission-critical systems, and any workflow where latency and throughput are the top priority

    Most production dApps, wallets, and enterprise tools or projects that need guaranteed resources but do not require the maximum performance tier

    GetBlock private node configuration tool with pricing
    Setting up a Dedicated Node performance tier via GetBlock dashboard
    contact us
    Exploring Brave Wallet network accounts
    Adding GetBlock Ethereum endpoint to Brave Wallet
    Creating zkEVM access token in GetBlock
    Adding GetBlock zkEVM endpoint to Brave Wallet’
    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
    Adding Polygon to Brave
    New Polygon zkEVM account with GetBlock endpoint
    three-dot menu

    window

    vwap

    Volume-weighted average price

    window

    volume

    Trading volume and swap activity

    window

    token

    Token metadata

    None

    AI or automated trading agent.

    A price weighted by elapsed time

    twap

    A price weighted by traded volume

    vwap

    Buy, sell, and total market activity

    volume

    Token metadata

    token

    trades

    Normalized individual trades

    None

    block

    Trading activity aggregated for one Solana slot

    None

    ohlcv

    Open, high, low, close, and volume candles

    window

    twap

    Individual trades and maximum calculation flexibility

    trades

    Market activity for each Solana slot

    block

    Candles or price charts

    ohlcv

    Why use Solana Market Data?

    How to use it

    You can also use the Playground to explore available methods and see the data before integrating it into your application.

    Which Topic Should I Use?

    Next steps

    Time-weighted average price

    TWAP

    Time-weighted market price

    Volume

    Trading activity and traded volume

    Candles

    OHLCV charts and price visualization

    Buy/Sell Activity

    Comparing buying and selling activity

    a time window for methods such as VWAP, TWAP, Volume, or Candles.

    inspect the returned data.

    Trades

    Individual normalized trades

    Blocks

    Market activity aggregated by Solana slot

    VWAP

    Volume-weighted market price

    Need an API key? You can create one in Settings → API Keys in your GetBlock account.

    2. Select a token pair

    You can select the Base Mint and Quote Mint directly in the Playground to explore the data for a specific pair before integrating it into your application.

    3. Choose the data you need

    4. Select how you want to consume the data

    HTTP

    WebSocket

    gRPC

    5. Configure your request

    Try it in the Playground

    6. Integrate it into your application

    SOL / USDC

    Set ES module type

    Set the ES module "type": "module" in your package.json.

    5

    Add code

    index.js
    import axios from 
    

    Replace <ACCESS-TOKEN> with your actual access token from GetBlock (Base or Optimism endpoint).

    6

    Run the script

    node index.js

    The response contains the current in-progress block, updated every 200ms (Base) or 250ms (Optimism). Call it again a few hundred milliseconds later and you'll see additional transactions included as new Flashblocks land.

    7

    Result

    {
        "jsonrpc": "2.0"
    
    1

    Setup the project directory

    mkdir flashblocks-quickstart
    cd flashblocks-quickstart
    2

    Create and activate a virtual environment

    python -m venv venv
    source 
    
    3

    Install requests

    pip install requests
    4

    Create script

    main.py
    import requests
    import json
    

    Replace <ACCESS-TOKEN> with your actual GetBlock access token.

    5

    Setup project

    Install Axios

    Create file

    To make use of Flashblocks:

    npm
    yarn
    GetBlock dashboard
    mkdir flashblocks-quickstart
    cd flashblocks-quickstart
    npm init --yes
    npm install axios

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    -32600

    Invalid Request

    Subscription called over HTTP; use WebSocket

    subscriptionId

    string

    Yes

    The subscription ID returned by eth_subscribe.

    import asyncio
    import json
    import websockets
    
    async def main():
        async with websockets.connect('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/') as ws:
            await ws.send(json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_unsubscribe",
        "params": [
            "0x9cef478923ff08bf67fde6c64013158d"
        ],
        "id": "getblock.io"
    }))
            async for message in ws:
                print(json.loads(message))
    
    asyncio.run(main())
    use tokio_tungstenite::connect_async;
    use tokio_tungstenite::tungstenite::Message;
    use serde_json::json;
    use futures_util::{SinkExt, StreamExt};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let (mut ws_stream, _) = connect_async("wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/").await?;
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_unsubscribe",
            "params": [
                    "0x9cef478923ff08bf67fde6c64013158d"
            ],
            "id": "getblock.io"
    });
        ws_stream.send(Message::Text(payload.to_string())).await?;
    
        while let Some(msg) = ws_stream.next().await {
            println!("{:?}", msg?);
        }
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": 1,
        "result": true
    }

    result

    boolean

    true if the subscription was successfully cancelled, false if the subscription ID was not found.

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.WebSocketProvider('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Flashblocks subscription types aren't first-class in ethers — use the raw send interface:
    const subscriptionId = await provider.send('eth_usubscribe', ["0xf48bfa9af6a7f77897a0f0e59c1061bc"]);
    console.log('Subscribed:', subscriptionId);
    import { createPublicClient, webSocket } from 'viem';
    
    const client = createPublicClient({
        transport: webSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // Flashblocks subscription types use the raw request interface:
    const subscriptionId = await client.request({
       "method": "eth_unsubscribe", 
        "params": ["0xf48bfa9af6a7f77897a0f0e59c1061bc"]
    });
    console.log('Subscribed:', subscriptionId);

    Request Example

    Response

    Response Parameters

    Error Handling

    SDK Integration

    # WebSocket-only method. Use wscat (or similar) to connect first:
    wscat -c 'wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/'
    
    # Then send:
    {"jsonrpc": "2.0", "method": "eth_unsubscribe", "params
    import WebSocket from 'ws';
    
    const ws = new WebSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    ws.on('open', () => {
        ws.send(JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_unsubscribe",
        "params": [
            "0x9cef478923ff08bf67fde6c64013158d"
        ],
        "id": "getblock.io"
    }));
    });
    
    ws.on('message', (data) => {
        console.log(JSON.parse(data.toString()));
    });

    Your app breaks when the node degrades

    $199

    Your endpoint URL exposes a random hash

    $199

    Other traffic shares your routing layer

    $199

    Anyone with the key can call the node

    $199

    You need a namespace or client we do not run by default

    $500

    Standard feeds report Solana activity too late

    On request

    You manage one URL per chain

    $199

    The proxy layer adds latency you cannot afford

    $199

    A private Grafana workspace that records every request your node handles and turns it into time-series charts: request volume, latency as percentiles (p50, p95, p99), and error rate — sliced by RPC method, by access key, and by region. You can trace a latency spike to the exact method behind it, attribute cost to a team or customer, size capacity from measured traffic, and spot a key that starts behaving abnormally.

    Health-checks your node at set intervals and treats it as degraded when it lags the chain head, its error rate rises, or its latency crosses a limit. Degraded traffic moves to GetBlock's shared RPC pool automatically and moves back once the node recovers — the endpoint URL never changes, so your application never notices the switch. Client upgrades and maintenance windows stop being downtime.

    Serves your node from a domain you own — rpc.yourapp.com via a CNAME record — instead of the autogenerated address with a random access token in the path. Authentication moves to a header such as x-access-token, so the secret no longer travels inside the URL, where it tends to end up in server logs and browser history. The URL also survives token rotation.

    A dedicated node isolates the compute, but every request still passes through a shared ingress layer that terminates TLS, checks authentication, applies rate limits, and routes the request. This service gives you a proxy fleet that serves only your traffic: no other customer's surge can slow your gateway, the added latency stays predictable, and the rate-limit and routing rules become yours to configure.

    Use it when you run at high request rates and the shared gateway has become the limit, or your compliance rules require an isolated traffic path end to end. Skip it when your traffic is moderate and the shared gateway keeps up — it isolates the routing layer, not the node's compute.

    Restricts your endpoint by source IP: only requests from addresses you approved reach the node; everything else is rejected at the gateway with 403 Forbidden, before it consumes node capacity or quota. Entries can be single addresses or CIDR subnets, IPv4 and IPv6. A token authenticates who is calling; the allowlist controls where the call comes from — so a leaked token alone is no longer enough.

    Runs what a default node deliberately leaves off: the debug, trace, txpool, or admin namespaces; a specific client version, patched build, or private fork; custom flags or a custom tracer. You describe what you need, and GetBlock deploys and operates it — upgrades, monitoring, and incidents included — so you get the exotic setup without owning its operations.

    Delivers raw block fragments (shreds) straight from validators over UDP, before the block is assembled — roughly 100 to 500 milliseconds before a standard commitment-based feed reports the same activity. You decode the shreds into transaction intent as the leader is packing it: signatures, accounts, instructions, and slot numbers. It comes in two modes: attached to your Solana dedicated node, or as a standalone credit-based service with no node at all.

    Collapses your per-chain endpoints into one URL and one credential. You keep your dedicated nodes but reach them all through a single unified endpoint, selecting the target chain with a subdomain, a path, or a chain-id parameter. Rate limits and the IP allowlist are set once and apply to every chain behind it, so adding a network no longer adds another endpoint and key to configure, rotate, and keep in sync.

    Removes the gateway and load balancer from the path and connects your application straight to your node. Those layers each add a small amount of time and, worse for trading, a small amount of variance; a fixed direct route removes both. Because you always reach the same node, you also keep a consistent view of the mempool and chain state. Pair it with a node in the region closest to your systems for the largest gain.

    • Set up a dedicated node from your account dashboard. It covers most workloads on its own.

    • Add a capability only when you have the problem it solves.

    • Read the "When you can skip it" section on each page before you buy.

    • For blockchain-specific capabilities — Beacon API, Blockbook, ERC-4337, Overlay Methods, MEV Protection, Yellowstone gRPC — see the section instead.

    To add any of these to your dedicated node, use the configurator setting of Dedicated Nodes or contact the support team for assistance.

    Advanced Analytics

    You cannot see how your node is used

    The extra services are for Dedicated Nodes and available to all blockchains. The one exception is Solana Shreds Streaming, which is Solana-specific and is also offered as a standalone, credit-based service without a node.

    Extra Services for Dedicated Nodes at a glance

    $199

    All prices are preliminary and per month. They add to your dedicated node subscription. They do not replace it.

    What each service gives you

    1.

    2.

    3.

    4.

    5.

    6.

    7.

    8.

    9.

    Zero-Hop Node Access and Automatic RPC Failover pull in opposite directions by design: one removes the routing layer, the other depends on it. Choose the one that fits the workload rather than enabling both.

    How to choose

    How to enable an add-on

    High throughput: Handles millions of events per minute under load

  • Comprehensive streaming: Monitor accounts, transactions, blocks, slots, and program interactions in real-time

  • Rich filtering: Subscribe only to relevant updates using account keys, owner programs, or commitment levels

  • Protobuf encoding: Receive parsed, typed messages instead of raw base64 data

  • Bidirectional streaming: Maintain long-lived connections with built-in keep-alives


  • Yellowstone gRPC supports streaming the full range of Solana events:

    Stream Type
    Description

    Accounts

    Real-time account updates including lamports, owner, and data

    Transactions

    Full transaction data with metadata and instruction details

    Blocks

    Block metadata including slot, parent slot, and timestamp


    Yellowstone gRPC is ideal for time-sensitive applications that need to react instantly to on-chain state changes:

    • High-frequency trading and MEV bots

    • On-chain indexers and data archives

    • Real-time analytics dashboards

    • DEX monitors and price feeds

    • DeFi strategy engines

    • Alerting and notification systems

    • NFT marketplace trackers

    • Wallet activity monitors



    To use Yellowstone gRPC on GetBlock:

    • A GetBlock account (sign up at getblock.io)

    • A Dedicated Solana Node subscription

    • Yellowstone gRPC add-on enabled (included at no extra cost with Dedicated Nodes)


    Here's a minimal TypeScript example to start streaming account updates:


    • Yellowstone gRPC GitHub Repository

    • GetBlock Solana Nodes

    • GetBlock Support


    Our support team is available 24/7 to assist with:

    • Add-on activation and endpoint setup

    • Integration guidance and troubleshooting

    • Performance optimization

    • Custom solutions for enterprise needs

    Contact us through the GetBlock dashboard or visit our support page.

    Overview

    Key Features

    import Client, {
      SubscribeRequest,
      CommitmentLevel
    } from "@triton-one/yellowstone-grpc";
    
    const client = new Client("https://shared.eu-central-1.getblock.io/", "YOUR_ACCESS_TOKEN");
    const stream = await client.subscribe();
    
    stream.write({
      accounts: ["YourWalletPubkeyHere"],
      commitment: CommitmentLevel.PROCESSED,
    } as SubscribeRequest);
    
    stream.on("data", (msg) => {
      if (msg.accountChange) {
        console.log(`Account updated: ${msg.accountChange.pubkey}`);
      }
    });

    Supported Data Streams

    Use Cases

    Note: gRPC is not supported in browsers. Yellowstone is designed for backend services and server-side applications.

    Getting Started

    Prerequisites

    Quick Example

    Additional Resources

    Need Help?

    Direct partnerships with high-stakes Solana validators

  • Guaranteed priority capacity through stake-weighted allocation

  • GetBlock-operated infrastructure with validator peering

  • Leased SWQoS Connections

    1. Higher priority than unstaked RPC traffic, ensuring transactions cut ahead during congestion

    2. Reserve priority bandwidth specifically for LandFirst traffic

  • Jito Block Engine Integration

    1. MEV-aware auction mechanism for guaranteed inclusion

    2. Bundle support for atomic multi-transaction operations

    3. Priority placement through competitive tipping

  • By combining all three paths, LandFirst provides the highest probability of fast transaction inclusion on Solana.

    LandFirst maximizes transaction inclusion by combining SWQoS priority routing, low-latency leader targeting, and parallel Jito submission. When a user sends a transaction, LandFirst checks the current leader schedule and picks the fastest path through our and our partners’ staked SWQoS validators, using private, low-hop connections to deliver the transaction directly to the upcoming leader with priority TPU capacity. At the same time, the transaction is also sent to Jito, where it enters the tip auction for guaranteed execution if the bundle wins. Whichever path lands first becomes the confirmed transaction, ensuring the highest possible probability of fast, next-block inclusion even under heavy network congestion.

    LandFirst analyzes each transaction and selects the optimal delivery path based on:

    • Leader Schedule: Which validator is currently/soon producing blocks

    • Network Conditions: Current congestion and validator responsiveness

    • Transaction Priority: Priority fee amount and urgency

    • Geographic Location: network topology that defines the lowest-path latency to the current leader.

    1. HFT & Arbitrage

    Fast, reliable execution for high-frequency trading, arbitrage, market-making, and position rebalancing — especially when every millisecond counts.

    1. MEV & Keeper / Liquidation Bots

    Ensures deterministic transaction landing for backruns, front-runs, liquidation races, and other MEV or keeper-bot strategies.

    1. NFT Sniping & High-Demand Mints

    Gives an edge for time-sensitive NFT events such as limited-supply mints, snipes, and competitive auctions.

    1. Critical Time-Sensitive Transactions

    For urgent or large-value moves — e.g. multi-sig operations, time-bound transfers, or high-stakes governance — where failure or delay is too costly.

    Standard RPC nodes submit transactions via single, unstaked TPU connections. During congestion, these transactions are deprioritized or dropped entirely.

    Aspect
    Standard RPC
    LandFirst

    Routing paths

    Single path

    Three paths (SWQoS + Jito)

    Validator priority

    None (unstaked)

    High (stake-weighted)

    LandFirst is available on:

    ✅ Shared Node Plans - All shared RPC users benefit automatically ✅ Dedicated Node Plans - Enhanced monitoring and configuration available ✅ No Additional Fee - Included in standard RPC access (tips are optional)


    For consultation on optimal deployment architecture for your specific use case, contact GetBlock support team

    Core Technology Stack

    Reach us

    Technical Architecture

    How It Works

    Routing Intelligence:

    Use Cases

    Different Between Multi-Path Routing Advantage vs. Standard RPC Transaction Submission

    Available to Everyone

    wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

    Method
    Usage

    eth_getTransactionCount

    Pass "pending" for a nonce that accounts for Flashblock transactions

    eth_getStorageAt

    Pass "pending" for storage at preconfirmed state

    eth_getBalance

    Pass "pending" for the balance at the latest Flashblock state

    The example below reads the pending balance of the Optimism WETH contract 0x4200000000000000000000000000000000000006. Substitute any supported method and parameters; the "pending" tag is what selects Flashblock state.

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_getBalance",
        "params": ["0x4200000000000000000000000000000000000006", "pending"],
        "id": "getblock.io"
    }'
    example.js
    const axios = require('axios');
    
    const response = await axios.post('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/', {
        jsonrpc: '2.0',
        method: 'eth_getBalance',
        params: ['0x4200000000000000000000000000000000000006', 'pending'],
        id: 'getblock.io'
    }, {
        headers: { 'Content-Type': 'application/json' }
    });
    
    console.log(response.data.result);
    example.py
    import requests
    
    response = requests.post(
        'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers={'Content-Type': 'application/json'},
        json={
            'jsonrpc': '2.0',
            'method': 'eth_getBalance',
            'params': ['0x4200000000000000000000000000000000000006', 'pending'],
            'id': 'getblock.io'
        }
    )
    
    print(response.json())
    example.rs
    use reqwest::Client;
    use serde_json::{json, Value};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&json!({
                "jsonrpc": "2.0",
                "method": "eth_getBalance",
                "params": ["0x4200000000000000000000000000000000000006", "pending"],
                "id": "getblock.io"
            }))
            .send()
            .await?
            .json::<Value>()
            .await?;
    
        println!("Result: {}", response["result"]);
        Ok(())
    }

    The result is the hex-encoded balance in wei at the latest Flashblock. The same request with the "latest" tag returns the value at the last sealed block.

    • Trading Platforms: Surface preconfirmed order and swap results with sub-second latency.

    • Prediction Markets: Reflect changes in market state as soon as transactions are preconfirmed.

    • Wallets: Show instant transaction feedback and real-time balance updates before a block is sealed.

    • Nonce Management: Use eth_getTransactionCount with pending to avoid nonce collisions during rapid submission.

    • Preconfirmed Receipts: Poll eth_getTransactionReceipt to confirm inclusion at Flashblock cadence.

    HTTP

    https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

    Endpoints

    WebSocket

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

    The pending tag works over HTTP. Flashblocks subscriptions require the WebSocket endpoint.

    Flashblocks-Aware Methods

    Example

    Response

    Use Cases

    How Risk Scoring Works

    Learn how Crypto AML evaluates signals, assigns risk bands, and reports exposure.

    Crypto AML evaluates on-chain and off-chain signals for each wallet. It returns a composite risk score, risk band, exposure breakdown, flags, and attribution.

    Scoring process

    Each check passes through three stages.

    1. Build an evidence profile

    The engine collects two types of evidence:

    • Address attribution: whether the address is associated with a known owner, service, organization, or wallet cluster.

    • On-chain exposure: the types of counterparties and activities connected to the address through observed transactions or asset flows.

    A signal is a normalized piece of evidence—not merely a raw label. A signal may describe:

    • a direct match to a reported or regulated entity;

    • membership in an identified wallet cluster;

    • exposure to a particular risk category;

    Related internal findings may be combined into a broader customer-facing category. Internal source labels and provider-specific terminology are never returned in the public report.

    The engine evaluates more than 30 criteria. Each signal is normalized and assigned an internal weight based on its relevance and evidential strength.

    A simplified representation is:

    The engine then combines these contributions with rule-based checks and supervised machine-learning models:

    This is more accurate than describing the result as a simple average. A direct, high-confidence finding may affect the result differently from indirect exposure, even when both appear in the same risk category.

    The exact weights and decision rules are not exposed, but the report provides the evidence needed to understand the result. Median processing time is under two seconds.

    The report includes:

    • Overall risk score: the composite result from 0 to 100.

    • Exposure breakdown: how the observed exposure is distributed across public categories.

    • Compliance flags: direct findings that may require additional review.

    The fields answer different questions:

    • The score indicates the overall level of risk.

    • The exposure share shows what the observed activity consists of; it is not the percentage contribution to the score.

    • Flags identify direct or particularly significant findings.

    A customer should therefore read the score together with the exposure, flags, and attribution—not as a standalone decision.

    • On-chain behavioral patterns

    • Wallet clusters

    • Counterparty flow

    The composite riskScore ranges from 0 to 100. It maps to one riskBand. The thresholds are exact:

    The report includes attribution when it can establish an identity:

    • owner — a wallet owner

    • cluster — a cluster identifier.

    • labels — Entity names or inferred tags, such as ["sanctioned_entity", "mixer"]

    eth_getBalance - Flashblocks

    Example code for the eth_getBalance Flashblocksmethod. Complete guide on how to use eth_getBalance Flashblocks in GetBlock Web3 documentation.

    This returns the ETH balance of an address in wei. When called with "pending", includes the effect of every transaction preconfirmed into the latest Flashblock — usually within 200ms (Base) or 250ms (Optimism) of the user's submission. Applications that update balance UIs on the pending tag give users near-instant feedback that a transfer has landed.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Wallet UIs showing near-instant balance updates after a transfer

    • Payment applications confirming a payment has been received before block seal

    • Trading bots that need to know current available balance including unsealed transfers

    Status Code
    Error Message
    Cause

    Base Flashblocks

    Flashblocks-specific RPC methods, WebSocket subscriptions, and the infrastructure stream schema for Base pre-confirmations.

    Flashblocks deliver ~200ms transaction preconfirmations on Base by streaming partial blocks before the next full block is sealed. Each 2-second Base block is divided into ten Flashblocks streamed at 200ms intervals, exposing preconfirmed state through the standard JSON-RPC pending block tag.

    Endpoints

    Transport
    URL

    HTTP

    Method
    Usage

    The example below reads the pending balance of the Base WETH contract 0x4200000000000000000000000000000000000006. Substitute any supported method and parameters; the "pending" tag is what selects Flashblock state.

    • Instant UI Feedback: Update wallet and dApp interfaces the moment a transaction is preconfirmed, without waiting for a sealed block.

    • Responsive Swaps: Surface preconfirmed swap results on decentralized exchanges with sub-second latency.

    • Onchain Gaming: Reflect game state changes as soon as actions are included in a Flashblock.

    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.


    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. "Endpoints" list

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


    Status
    Dashboard View
    Manage Plans View

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

    • Cryptocurrency;

    • Credit card.

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

    • 1 month

    • 6 months

    • 12 months


    There are three ways to extend your subscription.

    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.

    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.

    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.

    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.


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

    API Reference

    This contain all the endpoints, pricing and error codes to access Address Audit service

    The GetBlock Address Audit API provides access to all address audit services, which you can integrate into your dApp, including wallet audit, wallet riska nd rug pull checker

    Base URL

    https://services.getblock.io/v1

    Authentication

    All requests require an API key in the header:

    Authorization: Bearer <API_KEY>

    How to Get Address Audit API Key

    1. Go to your account dashboard

    2. Click on the product icon on the Navbar

    1. Scroll down and Select Address Audit

    2. After that, select the API key tab

    3. On the API Key tab, click on the plus icon, and your API key will be generated for you automatically

    In this example, you will be auditing a wallet address:

    • Axios (JavaScript / Node.js)

    • Python (Requests library)

    Before you begin, you must have already installed or on your local machine (for the Axios example) or Python and pip (for the Python example).

    1

    Create and initialize a new project:

    2
    3

    Create a new file named index.js. This is where you will make your first call.

    eth_estimateGas - Flashblocks

    Example code for the eth_estimateGas - Flashblocks method. Complete guide on how to use eth_estimateGas - Flashblocks in GetBlock Web3 documentation.

    This estimates the gas needed to execute a transaction without submitting it. When called with "pending", the estimate is computed against state including preconfirmed transactions in the latest Flashblock — giving more accurate estimates for transactions that depend on state changes happening in the current block.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Accurate gas estimation for transactions that depend on preconfirmed state (e.g. sequential swaps in a bundle)

    • Detecting transactions that would revert given preconfirmed state changes

    • Wallet fee suggestion UIs with Flashblocks-aware accuracy

    Status Code
    Error Message
    Cause

    eth_getBlockTransactionCountByNumber - Flashblocks

    Example code for eth_getBlockTransactionCountByNumber Flashblocks method. Complete guide on how to use eth_getBlockTransactionCountByNumber Flashblocks in GetBlock Web3 documentation.

    This returns the pending number of transactions in a block.

    Parameters

    Parameter
    Type
    Required
    Description

    block number

    Field
    Type
    Description
    • Confirming a transaction has been received and included in a Flashblock

    • Reading calldata / value of a preconfirmed transaction for follow-up processing

    • Building activity feeds with sub-second latency

    Status Code
    Error Message
    Cause

    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:

    Limitless Node

    A dedicated RPC endpoint with guaranteed RPS and no request limits, at a flat monthly price. For Ethereum, Solana, Bitcoin and other Tier-1 blockchains.

    Limitless Node is a dedicated RPC endpoint with a guaranteed RPS and no Compute Unit (CU) limits. You pick an RPS tier on a single chain, pay a fixed monthly fee, and send as many requests as your throughput allows. There's no usage-based billing and no overage charges.

    Architecturally, it's a middle layer between Shared RPS and Dedicated Nodes: more throughput and isolation than a shared plan, at a fraction of the cost of a full private node.


    Every Limitless Node includes:

    • Guaranteed requests-per-second (RPS)

    eth_getTransactionCount - Flashblocks

    Example code for the eth_getTransactionCount Flashblocks method. Complete guide on how to use eth_getTransactionCount Flashblocks in GetBlock Web3 documentation.

    This returns the transaction count (nonce) for an address. When called with "pending", the returned nonce already accounts for transactions currently sitting in Flashblocks — preventing nonce collisions when an account submits many transactions in rapid succession.

    This is especially valuable for high-frequency trading bots and any application that fires more than one transaction per 2-second block.

    Parameter
    Type
    Required
    Description

    Rug Pull Checker

    GetBlock Rug Pull Checker: AI rug pull detection for smart contracts — score, trust, and flag

    Rug Pull Checks is a smart-contract rug-pull risk assessment service. The service analyzes contracts across two independent dimensions and returns an overall risk score.

    Two independent analysis blocks:

    1. Rug Pull Probability: AI-predictive score (0–100%). Analyzes the behavior of the contract creator and liquidity providers (LPs) based on their on-chain history. Does not analyze contract code.

    2. Contract Details: verification of basic contract properties (open source, proxy, self-destruct, withdrawal rights, blacklist). Does not affect the Rug Pull Probability.

    Wallet Risk

    GetBlock Wallet Risk: fast AI fraud screening for wallets — risk score, level, and flags.

    Wallet Risk Check is a quick blockchain wallet risk assessment service. It returns an AI-predictive trust score, screening across 18 AML risk categories, and a sanctions check — in a single API call with response time under 100ms.

    This is a lightweight version of . Wallet Risk Check provides a quick go/no-go signal e.g "Can this wallet be trusted?"

    • Predicted Trust Score (0–100%): AI-predictive trust score

    • AML Risk Screening: screening across 18 risk categories (cybercrime, money laundering, phishing, etc.)

    eth_getStorageAt - Flashblocks

    Example code for the eth_getStorageAt Flashblock method. Complete guide on how to use eth_getStorageAt Flashblock in GetBlock Web3 documentation.

    This returns the value stored at a specific storage slot of a contract. When called with "pending", reflects storage changes from every transaction preconfirmed into the latest Flashblock — letting applications read intermediate contract state before block seal.

    Parameter
    Type
    Required
    Description

    eth_getCode - Flashblocks

    Example code for the eth_getCode JSON-RPC method. Complete guide on how to use eth_getCode JSON-RPC in GetBlock Web3 documentation.

    The eth_getCode method returns the bytecode at a given address. This is used to determine if an address is a smart contract and to retrieve the deployed contract code. When the block reference is "pending", Flashblocks detect contract deployments before the block seals.

    Parameter
    Type
    Required
    Description

    newFlashblocks - Flashblocks

    Example code for the newFlashblocks Flashblocks method. Complete guide on how to use newFlashblocks Flashblocks in GetBlock Web3 documentation.

    This subscribes to the full Flashblocks payload stream as each preconfirmed sub-block is built. Each notification delivers a Flashblocks Object containing payload_id, index (0-9 on Base, 0-7 on Optimism), diff (the delta since the previous Flashblocks), and — on the first Flashblocks of a new block (index: 0) — a base field with the block's initial state. This is the lowest-latency Flashblocks subscription and the canonical way to build sub-block indexers.

    Parameter
    "
    :
    [
    "
    0x9cef478923ff08bf67fde6c64013158d
    "
    ],
    "
    id
    "
    :
    "
    getblock.io
    "
    }

    Congestion handling

    Fails or delays

    Adaptive routing

    Bundle support

    No

    Yes (via Jito)

    MEV protection

    No

    Yes (via Jito)

    Landing probability

    60-90% (varies)

    95%+ (measured)

    eth_getBlockByNumber

    Pass "pending" to retrieve the current Flashblock

    eth_getBlockReceipt

    Pass "pending" to get receipts for all pre-confirmed transactions in the current Flashblock.

    eth_getBlockTransactionCountByNumber

    Pass "pending" to get the count of pre-confirmed transactions in the current Flashblock.

    eth_estimateGas

    Pass "pending" to estimate gas against preconfirmed state

    eth_call

    Pass "pending" to execute against preconfirmed state

    eth_simulateV1

    Simulates against the latest preconfirmed state

    eth_getLogs

    Pass "fromBlock": "pending" and "toBlock": "pending" to query logs from pre-confirmed transactions, updated every ~200ms.

    eth_getCode

    Pass "pending" for contract code at preconfirmed state

    eth_subscribe

    Opens a Flashblocks WebSocket subscription

    eth_unsubscribe

    Cancels an active Flashblocks subscription

    Slots

    Slot notifications as they're processed by the leader

    Block Meta

    Block metadata with transaction counts and execution status

    Overview

    Learn how Yellowstone gRPC works and why it's essential for real-time Solana applications

    Quickstart Guide

    Enable the add-on and start streaming data with code examples in TypeScript, Python, Go, and Rust

    These prices are temporary

    Add-ons
    Automatic RPC Failover
    Custom Endpoint URL
    Dedicated Ingress Proxy
    IP Allowlist
    Nonstandard Client Support
    Solana Shreds Streaming
    Unified Multichain Endpoint
    Zero-Hop Node Access
    Advanced Analytics
    Automatic RPC Failover
    Custom Endpoint URL
    Dedicated Ingress Proxy
    IP Allowlist
    Nonstandard Client Support
    Solana Shreds Streaming
    Unified Multichain Endpoint
    Zero-Hop Node Access
    '
    axios
    '
    ;
    // Fetch the latest Flashblock (in-progress block with preconfirmed transactions)
    const data = JSON.stringify({
    "jsonrpc": "2.0",
    "method": "eth_getBlockByNumber",
    "params": ["pending", false],
    "id": "getblock.io"
    });
    const config = {
    method: 'post',
    url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
    headers: {
    'Content-Type': 'application/json'
    },
    data: data
    };
    axios(config)
    .then(response => console.log(JSON.stringify(response.data, null, 2)))
    .catch(error => console.log(error));
    ,
    "result": {
    "hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "parentHash": "0x64c3e43c9701407d6fb8bd853782a7fc77ba7f63e55a1cd1c5eaa1c0eaf3e8c4",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "miner": "0x4200000000000000000000000000000000000011",
    "stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "transactionsRoot": "0x38131951ed5e3c8fa20b3cb08a75ccc33cb19e3a3cdf6260eae76a173900b934",
    "receiptsRoot": "0x83434863672598b03e64b1effdb3ad205345ad5114fd8b55995ad26571663a40",
    "logsBloom": "0x363031c23351743880d55105b76437b4e05246402bc44898a3353f4531021a41092f44aab543e301cf9f41d3a1a636817fd88880854d2114e7260fc360b46ef01f7a875144df34dc8f308f08ab498b24167c560d99ff32b5b0d3676a87638c373f9ea87cbe7a0b186609584f972b2ca8b1608b028894556464c28195591b539094351a2d3b3979be4623f816c522b87e372b826b2aa47a4cf27f20759540d4990e742b86a08811cf5e40b7370dcec2807bc44273421c8e5afff70b23407a5cd2be20996a72898ce94611dcd1ab2590a5080d878a8e78f83af193c6c3f908ec64621ebd8c179c90a3b4420f2c0aeb5cb6f0ba86c2b59e2956b2343d70af419883",
    "difficulty": "0x0",
    "number": "0x2de03b4",
    "gasLimit": "0x17d78400",
    "gasUsed": "0x11b1f57",
    "timestamp": "0x6a46644b",
    "extraData": "0x01000000640000000500000000004c4b40",
    "mixHash": "0xcb2806e22a6932ee882e44cb4899082c4eb130745740b14f5110d32c0e463236",
    "nonce": "0x0000000000000000",
    "baseFeePerGas": "0x4c4b40",
    "withdrawalsRoot": "0x5a6218671840987892338b76625664c7060d7b55b9e82414f9117f5388c406d4",
    "blobGasUsed": "0x351e14",
    "excessBlobGas": "0x0",
    "parentBeaconBlockRoot": "0x41922b97f16dd4c26d9680c0888d6eca48a96638988a310578c91cb1f76865ea",
    "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "uncles": [],
    "transactions": [
    "0x736d0f7b161888aef73271d4d147fa4ba5a4a42b1ef018fdab3605091aee21e3" "0xe58be418f85a1281a3c0ba4951c33edf948568879acda466663d568512ec8e92", "0x5bf2fba339a689973db07c54e1c22556c07a0c7fdcdf3f4918b2b7bd6fee75ab" "0xa6bec80fa9c94c0d330e27421e414eaef85cc39800120a557b3e93dcb9e81adb",
    "0x7f291369918ece59ccc88efde10a9807aa7da285dfec7744d5cc184b75227ba8"
    ],
    "withdrawals": []
    },
    "id": 1
    }
    venv/bin/activate
    # On Windows, use venv\Scripts\activate
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    payload = json.dumps({
    "jsonrpc": "2.0",
    "method": "eth_getBlockByNumber",
    "params": ["pending", False],
    "id": "getblock.io"
    })
    headers = {
    'Content-Type': 'application/json'
    }
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)

    Run the script

    python main.py
    GetBlock Product Demo
    the direction of an interaction;
  • the amount or share associated with that exposure;

  • the strength and specificity of the available attribution.

  • Attribution: identified owners, services, or wallet clusters, when available.
  • Calculation details: the time of the assessment and its unique calculation ID.

  • Attribution explains the entity or cluster context behind the address.
    Smart contract exposure
  • Direct & indirect exposure (hop distance to flagged addresses)

  • Transaction volume & value concentration

  • Peel-chain & layering patterns

  • Mixer/tumbler interaction

  • Bridge & cross-chain movement

  • Wallet age & activity cadence

  • Dormancy and sudden-reactivation signals

  • Token-level exposure (per-asset flow scoring)

    • Sanctions feeds (OFAC, EU, UN, and national lists)

    • Public attribution data

    • Law-enforcement intelligence

    • Darknet-market address databases

    • Ransomware & extortion address feeds

    • Scam, phishing & fraud reports

    • Exchange & VASP attribution

    • Known mixer/tumbler service lists

    • High-risk jurisdiction indicators

    • Reported hack & exploit address sets

    Medium

    25–49

    Minor exposure detected. Reasonable to proceed after a quick review.

    high

    High

    50–74

    Notable exposure to risky counterparties. Review details before accepting funds.

    very-high

    Very high

    75–100

    Strong match with high-risk activity. Do not transact without enhanced due diligence.

    .

    Band (riskBand)

    Label

    Score range

    Meaning

    low

    Low

    0–24

    No material risk indicators in the current evaluation.

    2. Calculate the risk score

    3. Return an interpretable report

    Signals evaluated

    Risk bands and thresholds

    Scores are estimates, not definitive verdicts. They combine weighted signals, machine-learning models, and updated data sources. So it is an estimate, not a definitive verdict. The same address can score slightly differently over time as on-chain activity, attribution data, and sanctions feeds change, and a result may sit near a band boundary. Treat the score and band as one input to your own risk decision, apply your own policy thresholds, and account for this natural fluctuation when acting on any particular result.

    For origin-of-funds investigations, use our KYT tool. It traces movements between an address, its counterparties, and related addresses.

    Attribution

    medium

    eth_getBlockByNumber

    Pass "pending" to retrieve the current Flashblock

    eth_getBlockReceipt

    Pass "pending" to get receipts for all pre-confirmed transactions in the current Flashblock.

    eth_getBlockTransactionCountByNumber

    Pass "pending" to get the count of pre-confirmed transactions in the current Flashblock.

    eth_estimateGas

    Pass "pending" to estimate gas against preconfirmed state

    eth_call

    Pass "pending" to execute against preconfirmed state

    eth_simulateV1

    Simulates against the latest preconfirmed state

    eth_getLogs

    Pass "fromBlock": "pending" and "toBlock": "pending" to query logs from pre-confirmed transactions, updated every ~200ms.

    eth_getCode

    Pass "pending" for contract code at preconfirmed state

    base_transactionStatus

    Reports whether a transaction hash is present in the mempool

    eth_subscribe

    Opens a Flashblocks WebSocket subscription

    eth_unsubscribe

    Cancels an active Flashblocks subscription

    Nonce Management: Use eth_getTransactionCount with pending to avoid nonce collisions when submitting transactions in rapid succession.

  • Preconfirmed Receipts: Poll eth_getTransactionReceipt on a 200ms interval to confirm inclusion at Flashblock cadence.

  • https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

    WebSocket

    wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

    eth_getTransactionCount

    Pass "pending" for a nonce that accounts for Flashblock transactions

    eth_getStorageAt

    Pass "pending" for storage at preconfirmed state

    eth_getBalance

    Pass "pending" for the balance at the latest Flashblock state

    The pending tag works over HTTP. Flashblocks subscriptions require the WebSocket endpoint.

    Flashblocks-Aware Methods

    Example

    Response

    Use Cases

    signal contributionᵢ = weightᵢ × normalized signal valueᵢ
    overall risk score = scoring model(weighted signals, direct findings, attribution context)
    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_getBalance",
        "params": ["0x4200000000000000000000000000000000000006", "pending"],
        "id": "getblock.io"
    }'
    example.js
    const axios = require('axios');
    
    const response = await axios.post('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/', {
        jsonrpc: '2.0',
        method: 'eth_getBalance',
        params: ['0x4200000000000000000000000000000000000006', 'pending'],
        id: 'getblock.io'
    }, {
        headers: { 'Content-Type': 'application/json' }
    });
    
    console.log(response.data.result);
    example.py
    import requests
    
    response = requests.post(
        'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers={'Content-Type': 'application/json'},
        json={
            'jsonrpc': '2.0',
            'method': 'eth_getBalance',
            'params': ['0x4200000000000000000000000000000000000006', 'pending'],
            'id': 'getblock.io'
        }
    )
    
    print(response.json())
    example.rs
    use reqwest::Client;
    use serde_json::{json, Value};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&json!({
                "jsonrpc": "2.0",
                "method": "eth_getBalance",
                "params": ["0x4200000000000000000000000000000000000006", "pending"],
                "id": "getblock.io"
            }))
            .send()
            .await?
            .json::<Value>()
            .await?;
    
        println!("Result: {}", response["result"]);
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0x3bdf5275488a29a8a57c"
    }

    -32601

    Method not found

    Method does not exist or is not enabled on this endpoint. Confirm your endpoint is Flashblocks-aware.

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    -32602

    Invalid address

    Address is not a valid 20-byte hex string

    address

    DATA (20 bytes)

    Yes

    Address to check

    block

    QUANTITY

    TAG

    Yes

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_getBalance",
        "params": [
            "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
            "pending"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_getBalance",
            "params": [
                    "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
                    "pending"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0x1bc16d674ec80000"
    }

    result

    QUANTITY

    Balance in wei (hex). Divide by 10^18 to get ETH

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_getBalance', ["0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a", "pending"]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    // provider.getBalance(addr, 'pending'), provider.getTransactionCount(addr, 'pending'), etc.
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_getBalance',
        params: ["0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a", "pending"]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBalance({ address, blockTag: 'pending' })
    // client.getBlock({ blockTag: 'pending' })

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_getBalance",
        "params": [
            "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
            "pending"
        ],
        "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_getBalance",
        "params": [
            "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
            "pending"
        ],
        "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));

    Expiring Soon

    (One-Time Payment)

    In Grace Period

    (Recurring /One-Time)

    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.

    Active

    (Recurring Payment)

    Active

    (One-Time Payment)

    Subscription status breakdown

    Changing the subscription period

    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

    How to extend your Dedicated Node plan

    Option 1: The Dedicated Nodes dashboard

    Video guide

    Option 2: From “Endpoints” list

    Option 3: Via the "Manage Plans" menu

    How to keep your Dedicated Node running smoothly

    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
    tracking the status of dedicated blockchain node subscriptions from GetBlock account
    How to manage dedicated node plans and subsciriptions from GetBlock's user account
    4

    Set ES module type

    Set the ES module "type": "module" in your package.json.

    5

    Add code

    Add the following code to index.js:

    index.js
    import axios from "axios";
    
    const data = 
      {  "network": "ETH", "address": "0xa45f...a675"};
    
    const config = {
      method: "post",
      url: "https://services.getblock.io/v1/wallet-audit/check",
      headers: {
        Authorization: "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
      },
      data: data,
    };
    
    axios(config)
      .then((response) => console.log(JSON.stringify(response.data, null, 2)))
      .catch((error) => console.log(error));
    

    Replace <YOUR_API_KEY> with your actual API Key from the GetBlock dashboard.

    6

    Run the script

    node index.js

    Expected output (example):

    {
        "data": {
            "message": "Success",
            "walletAddress": "0xa45f...a675",
            "status": "Fraud",
            "probabilityFraud": "0.9329851866",
            "token": null,
            "chain": "ETH",
            "lastChecked": "2026-03-19T07:02:56.000Z",
            "forensic_details": {
                "cybercrime": "0",
                "money_laundering": "0",
                "number_of_malicious_contracts_created": "0",
                "gas_abuse": "0",
                "financial_crime": "0",
                "darkweb_transactions": "0",
                "reinit": "0",
                "phishing_activities": "0",
                "fake_kyc": "0",
                "blacklist_doubt": "0",
                "fake_standard_interface": "0",
                "data_source": "",
                "stealing_attack": "0",
                "blackmail_activities": "0",
                "sanctioned": "0",
                "malicious_mining_activities": "0",
                "mixer": "0",
                "fake_token": "0",
                "honeypot_related_address": "0"
            },
            "checked_times": 3,
            "createdAt": "2026-03-19T06:52:28.000Z",
            "updatedAt": "2026-05-15T17:01:48.000Z",
            "sanctionData": [
                {
                    "id": 205813,
                    "trustscore_id": 18360032,
                    "category": null,
                    "name": null,
                    "description": null,
                    "url": null,
                    "isSanctioned": false,
                    "createdAt": "2026-05-15T17:01:48.000Z",
                    "updatedAt": "2026-05-15T17:01:48.000Z"
                }
            ]
        }
    }
    1

    Setup the project directory

    mkdir wallet-audit-quickstart
    cd wallet-audit-quickstart
    2

    Create and activate a virtual environment

    python -m venv venv
    source venv/bin/activate
    
    # On Windows, use:
    venv\Scripts\activate
    3

    Install requests

    pip install requests
    4

    Create script

    Create a file called main.py with the following content:

    Replace <YOUR_API_KEY> with your actual GetBlock API Key.

    5
  • Wallet Risk Homepage

  • Rug Pull Checker Homepage

  • mkdir wallet-audit-quickstart
    cd wallet-audit-quickstart
    npm init --yes
    npm install axios

    Ensure you store your API Key securely

    QuickStart

    Setup project

    Install Axios

    Create file

    Next Step

    npm
    yarn
    Wallet Risk endpoint
    Wallet Audit endpoint
    Rug Pull Checker endpoint
    Wallet Audit Homepage

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    3

    execution reverted

    Transaction would revert against the preconfirmed state — estimation cannot complete

    callObject

    object

    Yes

    Same shape as eth_call parameters

    block

    QUANTITY

    No

    "pending" for gas estimate against preconfirmed state (default is "latest")

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_estimateGas",
        "params": [
            {
                "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0"
            },
            "pending"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_estimateGas",
            "params": [
                    {
                            "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
                            "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                            "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0"
                    },
                    "pending"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0xc350"
    }

    result

    QUANTITY

    Estimated gas units (hex)

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_estimateGas', [{"from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0"}, "pending"]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    // provider.getBalance(addr, 'pending'), provider.getTransactionCount(addr, 'pending'), etc.
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_estimateGas',
        params: [{"from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0"}, "pending"]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBalance({ address, blockTag: 'pending' })
    // client.getBlock({ blockTag: 'pending' })

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_estimateGas",
        "params": [
            {
                "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0"
            },
            "pending"
        ],
        "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_estimateGas",
        "params": [
            {
                "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0"
            },
            "pending"
        ],
        "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    QUANTITY

    TAG, Yes

    the pending transaction

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
      "jsonrpc": "2.0",
      "method": "eth_getBlockTransactionCountByNumber",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_getTransactionByHash",
            "params": [
                    "0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "result": "0x8b",
        "id": "getblock.io"
    }
    

    result

    string

    0x00...00 for preconfirmed; real hash once finalized

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_getBlockTransactionCountByNumber', ["pending"]);
    console.log(result);
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_getBlockTransactionCountByNumber',
        params: ["pending"]
    });
    console.log(result);

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
      "jsonrpc": "2.0",
      "method": "eth_getBlockTransactionCountByNumber",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
      "jsonrpc": "2.0",
      "method": "eth_getBlockTransactionCountByNumber",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));
    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.


    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 this guide.

    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.


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

    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.

    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 .


    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.

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

    Action
    Owner
    Admin
    Member

    Create & manage access tokens

    ✅

    ✅

    🔓

    Manage subscriptions & payments


    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.


    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


    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.


    • 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.


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

    Creating a team account on GetBlock

    Adding teammates

    Limits on GetBlock team accounts:

    • Each user can create up to 3 teams.

    • A user can be invited to an

    Managing roles & permissions

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

    Roles-based permissions

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

    Revoking team access

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

    How to join a team account

    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.

    Best practices for team security

    Need help?

    throughput with no per-method throttling
  • Unlimited requests within your RPS tier, no CU-based billing

  • No concurrent connection limits for parallel workloads

  • No restrictions on RPC method usage. All standard and heavy RPC methods are supported

  • Full node and archive node configurations for supported chains

  • Isolated capacity and dedicated routing for a single network

  • Multi-region geo-routing across Europe, the USA, and Asia to minimize latency through geographic proximity

  • One instance can have multiple access tokens, each a separate credential that can be regenerated or removed independently of the others

  • 24/7 customer support with a response time under 5 minutes

  • Pricing is fixed and predictable because it is throughput-based rather than usage-based


  • One Limitless Node subscription corresponds to one blockchain network. The service is currently available on 11 high-demand blockchains:


    Pick the tier that matches your current traffic. Within your RPS cap, requests are unlimited. There is no monthly request quota and no CU metering.

    RPS Tier
    Price (monthly)
    Requests

    25 RPS

    $150/mo

    Unlimited

    50 RPS

    $300/mo

    Supported networks: Arbitrum, Avalanche, Base, Bitcoin, BNB Smart Chain, Ethereum, Optimism, Polygon, Sui, TRON

    RPS Tier
    Price (monthly)
    Requests
    RPS Tier
    Price (monthly)
    Request

    5 RPS

    $150/mo

    Unlimited

    15 RPS

    $450/mo

    Unlimited

    Prices shown are for monthly billing. Annual billing saves 20%. You can move between tiers at any time with no lock-in.


    You can configure and launch a Limitless Node from your GetBlock Dashboard → Limitless Nodes.

    1. In your account, open Limitless Nodes and click Create new node.

    2. Configure the node:

      1. The blockchain network

      2. Mode - Full or Archive*

      3. Node location

      4. API interface (all supported interfaces included by default)

    3. Select an RPS plan

    4. Choose a billing term: 1, 6, or 12 months

    5. Complete checkout

    *Not every network offers an archive tier. Check availability in your dashboard first.

    If you need a chain that isn't listed, contact our team directly. We can also recommend a tier based on your workload.


    • Endpoint setup

    • Testing RPC connection

    • API Reference

    Limitless Node is the right fit for applications that generate a high volume of RPC requests and need predictable monthly costs without provisioning a full Dedicated Node. Common use cases include indexers, bots, wallet backends, AI agents, and analytics platforms.

    What's included

    Limitless Node is a standalone product. You don't need an existing Shared or Dedicated plan to use it. You get a fully isolated RPC endpoint from day one.

    Supported chains

    Additional networks may be added over time. If you need a chain that isn't listed yet, a custom RPS ceiling, or multi-region redundancy,.

    RPS tiers and pricing

    EVM Chains, Bitcoin, TRON, Sui - Full and Archive Nodes

    Solana - Full Node

    Requests above your RPS limit are rate-limited and return a standard rate-limit response. We do not charge overage fees. If you consistently reach your limit, consider upgrading to a higher tier.

    Deploy a Limitless Node

    Next steps

    address

    DATA (20 bytes)

    Yes

    Address to check

    block

    QUANTITY

    TAG

    Yes

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
    
    import axios from 'axios';
    
    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_getTransactionCount",
        "params": [
            "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
            "pending"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_getTransactionCount",
            "params": [
                    "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
                    "pending"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    Field
    Type
    Description

    result

    QUANTITY

    Transaction count / next nonce in hex, including transactions in Flashblocks

    • Constructing the next transaction with the correct nonce, even during high-frequency submission

    • Preventing 'nonce too low' errors when submitting multiple transactions per block

    • Trading bot infrastructure — the primary use case for the pending nonce

    Status Code
    Error Message
    Cause

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_getTransactionCount', ["0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a", "pending"]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    // provider.getBalance(addr, 'pending'), provider.getTransactionCount(addr, 'pending'), etc.
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_getTransactionCount',
        params: ["0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a", "pending"]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBalance({ address, blockTag: 'pending' })
    // client.getBlock({ blockTag: 'pending' })

    Parameters

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

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    Rug Pull Checks

    Wallet Audit

    Input

    Smart contract address

    Wallet address (EOA)

    What it analyzes

    Creator behavior + LPs + basic contract properties

    GetBlock also provides the Risk API service, powered by Hexens Glider Token Risks. This is a fundamentally different product; they do not compete but complement each other.

    Rug Pull Checks

    Risk API

    Provider

    ChainAware.ai

    Hexens (Glider Token Risks)

    What it analyzes

    Behavior of the contract creator and liquidity providers (LPs)

    1. Ethereum

    2. BNB Smart Chain

    3. Base

    There are four steps involved, which are:

    1. Find the contract creator: It identifies the wallet that deployed the contract and runs it through the Fraud Detector to obtain the creator's Trust Score.

    2. Trace the deployment chain: if the contract was deployed by another contract, it follows the chain to the actual wallet. The obfuscation through the chain itself is a red flag.

    3. Analyze the liquidity providers (LPs): run each LP through the Fraud Detector and obtain the Trust Score for each LP.

    4. Generate the Rug Pull Probability: based on the combination of the creator's Trust Score + LP Trust Scores.

    • New creator address (no history to evaluate)

    • Low Trust Score for the creator (behavioral history matches fraud patterns)

    • New addresses adding liquidity (classic rug pull pattern)

    • Low Trust Score for LPs

    • Obfuscated deployment chain (contract deploys contract)

    • Creator with a long clean on-chain history

    • LPs with high Trust Scores

    • Transparent addresses without routing through mixers

    Accuracy: 68%

    The algorithm correctly identifies 68 out of 100 rug pulls based on purely behavioral analysis, without code analysis. The 32% miss rate consists of more sophisticated operators who invest in building a legitimate-looking wallet history before executing a rug pull.

    1. Go to your GetBlock Account Dashboard and click Rug Pull

    1. Select the choice of your network using the dropdown:

    1. Enter the contract address:

    1. Click on Run Check

    2. Scroll down to see the analysis:

    If you want to interact with or integrate this service via API, check the Rug pull checker endpoint.

    • Address Audit API Reference

    • Wallet Audit Homepage

    • Wallet Risk Homepage

    These are two independent blocks. Contract Details (green checkmarks) do not affect the Rug Pull Probability. A contract with clean code, but a suspicious creator will receive a high risk score.

    Difference Between Rug Pull Checker And Wallet Audit

    Difference Between Rug Pull Checker And Risk API (Hexens Glider)

    Both products complement each other: ChainAware may give a green light to a contract with a clean deployer, but with a honeypot in the code. Hexens may show clean code, but the contract was created by a wallet that previously executed a rug pull. Using the two gives a full picture.

    Disclaimer

    Rug Pull Check provides automated risk indicators based on publicly available on-chain data. Results are informational in nature and do not constitute investment advice, a security audit, or legal counsel. The predictive model accuracy is 68% — 32% of rug pulls may go undetected. We do not guarantee the accuracy or completeness of the data. The decision to interact with a contract is made by the user.

    Supported Networks

    How Rug Pull Probability Is Calculated

    What increases the risk score:

    What decreases the risk score:

    • The service works only with smart contracts. If a regular wallet address (EOA) is submitted, an empty result will be returned. To check wallets, use Wallet Audit.

    • Rug Pull Probability does not analyze the contract source code. It evaluates the behavior of the people behind the contract, not the code.

    How to Check the Risk In A Wallet Address

    This report includes the following:
    1. Contract name

    2. Contract address

    Need a custom setup (higher rate limits, dedicated infrastructure, SLA, or volume pricing)? .

    Next Step

  • Sanctions Check: verification against sanctions lists

  • Wallet Risk Check

    Wallet Audit

    Response time

    < 100ms

    Several seconds

    Trust Score

    Yes

    They are two-step logic involved in this calculation:

    If at least one field in forensic_details = "1" → probabilityFraud is automatically set to 1.0 (Predicted Trust = 0%). The ML model is not invoked. Any AML flag = automatic maximum risk.

    If all forensic_details fields = "0" → the predictive AI model analyzes on-chain wallet behavior and returns probabilityFraud from 0.0 to 1.0. Predicted Trust = 1 − probabilityFraud.

    Examples:

    • vitalik.eth: all forensic_details = "0" → ML model → probabilityFraud = 0.042 → Predicted Trust = 95.8%

    • Fraudulent wallet: money_laundering = "1" → hard override → probabilityFraud = 1.0 → Predicted Trust = 0%

    1. Ethereum(ETH)

    2. BNB Smart Chain

    3. Base

    4. Polygon

    5. TRON

    1. Go to your GetBlock Account Dashboard and click Wallet Risk

    1. Select the choice of your network using the dropdown:

    1. Enter the wallet address:

    1. Click on Run Check:

    1. Scroll down to see the analysis:

    If you want to interact with or integrate this service via API, check the Wallet risk endpoint.

    1. Wallet Audit Doc

    2. Rug Pull Checker Doc

    3. Address Audit API Reference

    4. Wallet Audit Homepage

    For a full behavioral profile (intentions, experience, protocols, transactions), use Wallet Audit.

    What Wallet Risk Does?

    Wallet Audit

    Difference Between Wallet Risk And Wallet Audit

    How Predicted Trust Score is Calculated

    Step 1: AML Check (hard override)

    Step 2: ML Model (if AML is clean)

    • The service only works with regular wallets (EOA — Externally Owned Accounts). Contract addresses are not supported.

    • A minimum of 10–15 transactions is required to calculate an accurate predictive score. Wallets with less history lack sufficient data for a reliable assessment

    Supported Networks

    How to Check the Risk In A Wallet Address

    This report includes the following:
    1. Predicted trust score: This is the main indicator of a wallet's level of trust, ranging from 0% to 100%. Calculated as 1 − probability of fraud. Displayed with a status badge (Not Fraud / Fraud / New Address) and a sanctions badge (Not Sanctioned / Sanctioned).

    Predicted Trust
    Level

    Need a custom setup (higher rate limits, dedicated infrastructure, SLA, or volume pricing)? .

    Next Step

    DATA (20 bytes)

    Yes

    Contract address

    slot

    QUANTITY

    Yes

    Storage slot index (hex)

    block

    QUANTITY

    TAG

    Yes

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
    
    import axios from 'axios';
    
    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_getStorageAt",
        "params": [
            "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "0x0",
            "pending"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_getStorageAt",
            "params": [
                    "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                    "0x0",
                    "pending"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    Field
    Type
    Description

    result

    DATA (32 bytes)

    Value at the storage slot, reflecting preconfirmed state

    • Reading contract state that has been updated by preconfirmed transactions

    • Monitoring internal state changes in real-time (e.g. AMM reserves, oracle prices)

    • Auditing tools that need to-the-Flashblock state visibility

    Status Code
    Error Message
    Cause

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_getStorageAt', ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "0x0", "pending"]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    // provider.getBalance(addr, 'pending'), provider.getTransactionCount(addr, 'pending'), etc.
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_getStorageAt',
        params: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "0x0", "pending"]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBalance({ address, blockTag: 'pending' })
    // client.getBlock({ blockTag: 'pending' })

    Parameters

    address

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

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    address

    string

    Yes

    20-byte address to check

    blockParameter

    string

    Yes

    Block number in hex, or "pending"

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
    
    const axios = require('axios'
    
    import requests
    
    response = requests.post(
        'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers={'Content-Type': 'application/json'},
        json={
            'jsonrpc': '2.0',
            'method': 'eth_getCode',
            'params': [
        '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
        'pending'],
            'id': 'getblock.io'
        }
    )
    
    result = response.json()
    code = result['result']
    is_contract = code != '0x'
    print(f'Is Contract: {is_contract}')
    print(f'Code Length: {(len(code) - 2) // 2} bytes')
    use reqwest::Client;
    use serde_json::{json, Value};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
        
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&json!({
                "jsonrpc": "2.0",
                "method": "eth_getCode",
                "params": [
        "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "pending"],
                "id": "getblock.io"
            }))
            .send()
            .await?
            .json::<Value>()
            .await?;
        
        let code = response["result"].as_str().unwrap();
        let is_contract = code != "0x";
        println!("Is Contract: {}", is_contract);
        Ok(())
    }
    Parameter
    Type
    Description

    jsonrpc

    string

    JSON-RPC protocol version ("2.0")

    id

    string

    Request identifier matching the request

    • Contract Detection: Verify if address is a smart contract

    • Security Analysis: Examine contract bytecode for vulnerabilities

    • Contract Verification: Compare deployed code with source

    • Proxy Detection: Identify proxy patterns in bytecode

    • Contract Indexing: Catalog deployed contracts

    Error Code
    Message
    Description

    -32602

    Invalid params

    Invalid address format

    -32603

    Internal error

    Node internal failure

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_code', [
        "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "pending"]);
    console.log(result);
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_code',
        params: [
        "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "pending"]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBlock({ blockTag: 'pending' })

    Parameters

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

    Request

    Response

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    Type
    Required
    Description

    subscriptionType

    string

    Yes

    Must be "newFlashblocks"

    # WebSocket-only. Use wscat (or similar) to connect first:
    wscat -c 'wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
    
    import WebSocket from 'ws';
    
    import asyncio
    import json
    import websockets
    
    async def main():
        async with websockets.connect('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/') as ws:
            await ws.send(json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_subscribe",
        "params": [
            "newFlashblocks"
        ],
        "id": "getblock.io"
    }))
            async for message in ws:
                msg = json.loads(message)
                if msg.get('method') == 'eth_subscription':
                    # Preconfirmed data update
                    print(msg['params']['result'])
                else:
                    # Subscription ID response
                    print('Subscribed:', msg.get('result'))
    
    asyncio.run(main())
    use tokio_tungstenite::connect_async;
    use tokio_tungstenite::tungstenite::Message;
    use serde_json::json;
    use futures_util::{SinkExt, StreamExt};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let (mut ws_stream, _) = connect_async("wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/").await?;
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_subscribe",
            "params": [
                    "newFlashblocks"
            ],
            "id": "getblock.io"
    });
        ws_stream.send(Message::Text(payload.to_string())).await?;
    
        while let Some(msg) = ws_stream.next().await {
            println!("{:?}", msg?);
        }
        Ok(())
    }
    Field
    Type
    Description

    result

    string

    Hex-encoded subscription ID. Each subsequent eth_subscription notification carries a Flashblocks Object payload with payload_id, index, diff, and (on index 0) base

    • Sub-block indexers — the primary streaming source for Flashblocks-native data

    • Real-time analytics dashboards showing block construction in progress

    • Trading infrastructure that needs the earliest possible view of sequencer-ordered transactions

    • MEV monitoring — observing preconfirmed transactions as they land

    Status Code
    Error Message
    Cause

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.WebSocketProvider('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Flashblocks subscription types aren't first-class in ethers — use the raw send interface:
    const subscriptionId = await provider.send('eth_subscribe', ["newFlashblocks"]);
    console.log('Subscribed:', subscriptionId);
    
    // Listen for incoming events on the WebSocket transport
    provider.websocket.addEventListener('message', (event) => {
        const msg = JSON.parse(event.data);
        if (msg.method === 'eth_subscription' && msg.params?.subscription === subscriptionId) {
            console.log('Flashblocks update:', msg.params.result);
        }
    });
    import { createPublicClient, webSocket } from 'viem';
    
    const client = createPublicClient({
        transport: webSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // Flashblocks subscription types use the raw request interface:
    const subscriptionId = await client.request({
        method: 'eth_subscribe',
        params: ["newFlashblocks"]
    });
    console.log('Subscribed:', subscriptionId);

    WebSocket-only method. This method requires the WebSocket transport at wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/. It will not work via HTTP POST. Preconfirmed events arrive at the Flashblocks cadence — approximately every 200ms on Base, 250ms on Optimism.

    Parameters

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

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    Wallet Audit

    GetBlock Wallet Audit: assess on-chain risk, AML exposure, and wallet behavior in seconds.

    Wallet audit is a service that conducts risk assessments for an automated wallet on the blockchain. The service analyzes on-chain wallet behavior and provides a comprehensive report that includes a trust score, an AML check, a behavioral profile, a protocol interaction history, and predictive intentions.

    Wallet Audit provides automated risk indicators based on publicly available on-chain data. The results are for informational purposes only and do not constitute AML compliance verification, legal advice, or regulatory screening. We do not guarantee the accuracy or completeness of the data. The decision to interact with an address is made by the user.

    Use Cases

    Wallet Audit provides a complete behavioral wallet profile, not just a "fraud / not fraud" check. Below are six key scenarios where a full audit creates measurable value.

    1. DeFi Protocol — Personalized Onboarding

    All users connecting to the protocol see the same interface, regardless of their experience, preferences, or financial capabilities. Beginners get lost in complex products, while experienced users don't see what they need.

    With Wallet Audit, the moment a wallet connects, an audit runs instantly. Based on Risk Willingness, Experience, and Intentions, the protocol surfaces relevant products.

    Example:

    • Beginner (Experience = 2, Risk Willingness = 3) → simple ETH staking, basic pools

    • Experienced user (Experience = 10, Intentions: Leveraged Lending = HIGH) → directly to margin products, concentrated liquidity

    Parameters used: Experience Level, Risk Willingness, Intentions, Protocols

    In DeFi lending, all borrowers are assessed equally — only by collateral volume. There is no data on the borrower's financial stability or behavioral history.

    With Wallet Audit, Risk Capability, Total Balance, and Experience, determine maximum loan size and collateral requirements.

    Example:

    • Wallet A: Risk Capability = 1, balance $0.09, Experience = 10 → experienced but without funds. High collateral, low limit.

    • Wallet B: Risk Capability = 8, balance $100K, Experience = 9 → experienced and financially stable. Standard collateral, increased limit.

    Parameters used: Risk Capability, Total Balance, Experience Level, Risk Willingness

    Marketing campaigns in Web3 operate "blindly". The protocol only knows wallet addresses but doesn't understand who its users are, what they do, or what they need.

    With Wallet Audit, a mass audit of connected wallets uses Transaction Categories, Protocols, and Intentions to split the base into cohorts for targeted marketing.

    Example:

    • 40% of users with Prob_Trade = HIGH and Uniswap interaction → launch a DEX aggregator for them

    • 25% with Prob_Lend = HIGH and Aave, Compound protocols → cross-promo with lending product

    • 15% with Prob_NFT = HIGH → partnership with NFT marketplace

    Parameters used: Transaction Categories, Protocols, Intentions, Experience Level

    Token sales are filled with airdrop farmers and bots who dump tokens on the first day of listing. Real investors don't receive allocation.

    With Wallet Audit, Wallet Rank, Experience, and Risk Capability, provide objective applicant scoring. Allocation priority goes to wallets with a verified history.

    Example:

    • Investor A: Wallet Rank in top 10K, Experience = 9, Risk Capability = 7, Intentions: Staking = HIGH → long-term holder, priority allocation

    • Investor B: fresh wallet, 3 transactions, Wallet Rank = 0, Experience = 1 → likely farmer, low priority

    Parameters used: Wallet Rank, Experience Level, Risk Capability, Intentions, Transaction Count

    Quest platforms (Layer3, Zealy, Galxe) offer the same tasks to everyone. Too difficult for beginners, too easy for experienced users. Bot farms collect rewards intended for real users.

    With Wallet Audit, Experience and Protocols determine different quests for different levels, while Wallet Rank filters sybil accounts from real users.

    Example:

    • Beginner (Experience = 2) → quest: "Make your first swap on Uniswap", "Stake ETH via Lido"

    • Experienced (Experience = 8, Protocols: Aave, Lido, Curve) → quest: "Provide concentrated liquidity on Uniswap V3", "Create a leveraged position on Aave"

    • Sybil filter: Wallet Rank < threshold or Transaction Count < 15 → wallet does not receive rewards

    Parameters used: Experience Level, Protocols, Wallet Rank, Transaction Count, Intentions

    Most airdrop campaigns distribute tokens indiscriminately to everyone. Result — 80%+ of recipients sell on the first day, the price crashes, and real protocol users don't receive a fair allocation.

    With Wallet Audit, Wallet Rank, Experience, and Transaction Categories objectively assess whether a wallet belongs to a real protocol user.

    Example:

    • Tier 1 (increased airdrop): Wallet Rank in top 20K, Experience >= 7, Transaction Categories include the protocol core category, AML = clean

    • Tier 2 (standard airdrop): Wallet Rank in top 100K, Experience >= 4

    • Exclusion: Wallet Rank = 0, Experience = 1, fewer than 15 transactions → airdrop farmer, does not receive allocation

    Parameters used: Wallet Rank, Experience Level, Transaction Categories, Predicted Trust, AML Analysis

    1. Ethereum(ETH)

    2. BNB Smart Chain(BSC)

    3. Base

    1. Go to your

    1. Select the network you want to work with:

    1. Enter the wallet address you want to analyze:

    1. Click on Run Check:

    1. Scroll down to see the analysis:

    If you want to interact with or integrate this service via API, check the

    eth_getBlockByNumber - Flashblocks

    Example code for the eth_getBlockByNumber Flashblocks method. Complete guide on how to use eth_getBlockByNumber Flashblocks in GetBlock Web3 documentation.

    This returns the current in-progress Flashblock when called with "pending" — including every transaction that has landed in Flashblocks since the last block sealed. Pass true as the second parameter for full transaction objects; false for hashes only. When called with "latest", returns the last sealed block as usual. Preconfirmed Flashblocks are distinguishable from finalized blocks by their zero stateRoot and by the absence of a final block hash.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Fast block scanning — read the current preconfirmed state up to 1.8 seconds before the block seals

    • Building real-time DeFi dashboards that show transactions as they land

    • MEV analysis — inspecting sequencer-ordered transactions before finalization

    Status Code
    Error Message
    Cause

    eth_getBlockReceipt - Flashblocks

    Example code for the eth_getBlockReceipt Flashblocks method. Complete guide on how to use eth_getBlockReceipt Flashblocks in GetBlock Web3 documentation.

    This returns the receipt of a block — preconfirmed OR finalized. Preconfirmed receipts are identifiable by their zero blockHash (0x00...00) and blockNumber: null. Once the parent block seals (within 2 seconds), the same receipt returns with a real block hash. This zero-hash convention is the canonical way to distinguish preconfirmed vs finalized receipts without additional RPC calls.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Wallet UIs showing preconfirmed transaction success within 200ms of submission

    • Polling for confirmed inclusion at 200ms cadence instead of 2s

    • Distinguishing 'transaction preconfirmed' vs 'transaction finalized' UX states

    Status Code
    Error Message
    Cause

    pendingLogs - Flashblocks

    Example code for the pendingLogs Flashblocks method. Complete guide on how to use pendingLogs Flashblocks in GetBlock Web3 documentation.

    This Subscribes to contract event logs emitted by preconfirmed transactions — sub-block latency for on-chain events. Filter by contract address (single or array) and event topics (same format as eth_getLogs).

    This is the fastest way to react to on-chain events, up to ~1.8 seconds ahead of the standard logs subscription.

    WebSocket-only method. This method requires the WebSocket transport at wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/. It will not work via HTTP POST. Preconfirmed events arrive at the Flashblocks cadence — approximately every 200ms on Base, 250ms on Optimism.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Real-time event indexers — the lowest-latency way to react to on-chain events

    • Trading bots watching for specific ERC-20 transfers, DEX swaps, or oracle updates

    • Liquidation bots watching for Aave/Compound account state changes

    Status Code
    Error Message
    Cause

    eth_call - Flashblocks

    Example code for the eth_call - Flashblocks method. Complete guide on how to use eth_call - Flashblocks in GetBlock Web3 documentation.

    This executes a read-only contract call without creating a transaction. When the block reference is "pending", the call executes against state including every transaction preconfirmed into the latest Flashblocks. This lets applications compute derived values (token balances, oracle prices, pool reserves) reflecting the freshest possible state.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Reading ERC-20 balances / allowances reflecting the latest preconfirmed transfers

    • Fetching oracle prices with sub-block latency

    • Pre-flight quotes for DEX swaps against the freshest reserves

    Status Code
    Error Message
    Cause

    newFlashblockTransactions - Flashblocks

    Example code for the newFlashblockTransactions Flashblocks method. Complete guide on how to use newFlashblockTransactions Flashblocks in GetBlock Web3 documentation.

    This subscribes to individual preconfirmed transactions as they land in Flashblocks. Each notification carries one transaction. Pass true as a second parameter to include full transaction objects with associated logs; omit or pass false to receive only transaction hashes. Lighter-weight than newFlashblocks when you only care about the transaction stream and not the full block state.

    WebSocket-only method. This method requires the WebSocket transport at wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/. It will not work via HTTP POST. Preconfirmed events arrive at the Flashblock cadence — approximately every 200ms on Base, 250ms on Optimism.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Wallet infrastructure watching for a specific user's transactions to preconfirm

    • Transaction-level analytics without the overhead of full block payloads

    • Building activity feeds for accounts with sub-second latency

    Status Code
    Error Message
    Cause

    base_transactionStatus - Flashblocks

    Example code for the base_transactionStatus Flashblocks method. Complete guide on how to use base_transactionStatus Flashblocks in GetBlock Web3 documentation.

    This Checks whether a specific transaction is currently present in the node's mempool. This confirms that a submitted transaction has been received by the sequencer before it appears in a Flashblocks — closing the gap between submission and first preconfirmation. Base-specific: this method exists on Base's Flashblocks endpoints but has no equivalent on Optimism.

    Base-only method. This method is exposed by Base's Flashblocks infrastructure but has no equivalent on Optimism. Calling it against an Optimism endpoint will return -32601 Method not found.

    Parameters

    Parameter
    Type
    Required
    Description
    Field
    Type
    Description
    • Confirming a submitted transaction reached the sequencer before it appears in a Flashblock

    • Detecting transactions that were dropped or rejected before entering the mempool

    • Debugging submission pipelines — distinguishing 'not submitted' from 'submitted but not yet preconfirmed'

    Status Code
    Error Message
    Cause

    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.

    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)

    ,
    2
    )))
    ,
    2
    )))
    ,
    2
    )))
    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionCount",
    "params": [
    "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
    "pending"
    ],
    "id": "getblock.io"
    }'
    const data = JSON.stringify({
    "jsonrpc": "2.0",
    "method": "eth_getTransactionCount",
    "params": [
    "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a",
    "pending"
    ],
    "id": "getblock.io"
    });
    const config = {
    method: 'post',
    url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
    headers: {
    'Content-Type': 'application/json'
    },
    data: data
    };
    axios(config)
    .then(response => console.log(JSON.stringify(response.data, null, 2)))
    .catch(error => console.log(error));

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getStorageAt",
    "params": [
    "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "0x0",
    "pending"
    ],
    "id": "getblock.io"
    }'
    const data = JSON.stringify({
    "jsonrpc": "2.0",
    "method": "eth_getStorageAt",
    "params": [
    "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "0x0",
    "pending"
    ],
    "id": "getblock.io"
    });
    const config = {
    method: 'post',
    url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
    headers: {
    'Content-Type': 'application/json'
    },
    data: data
    };
    axios(config)
    .then(response => console.log(JSON.stringify(response.data, null, 2)))
    .catch(error => console.log(error));

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getCode",
    "params": [
    "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "pending",
    ]
    "id": "getblock.io"
    }'
    )
    ;
    const response = await axios.post('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/', {
    jsonrpc: '2.0',
    method: 'eth_getCode',
    params: [
    '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
    'pending'],
    id: 'getblock.io'
    }, {
    headers: { 'Content-Type': 'application/json' }
    });
    const code = response.data.result;
    const isContract = code !== '0x';
    console.log('Is Contract:', isContract);
    console.log('Code Length:', (code.length - 2) / 2, 'bytes');

    result

    string

    Bytecode at the address (hex). Returns "0x" for EOAs

    '
    # Then send:
    {"jsonrpc": "2.0", "method": "eth_subscribe", "params": ["newFlashblocks"], "id": "getblock.io"}
    const ws = new WebSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    ws.on('open', () => {
    ws.send(JSON.stringify({
    "jsonrpc": "2.0",
    "method": "eth_subscribe",
    "params": [
    "newFlashblocks"
    ],
    "id": "getblock.io"
    }));
    });
    ws.on('message', (data) => {
    const msg = JSON.parse(data.toString());
    if (msg.method === 'eth_subscription') {
    // Preconfirmed data update
    console.log(msg.params.result);
    } else {
    // Subscription ID response
    console.log('Subscribed:', msg.result);
    }
    });

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    -32600

    Invalid Request

    newFlashblocks subscription called over HTTP; use WebSocket

    Data freshness depends on the last ChainAware scan (lastChecked field).

    Creator wallet address
  • Network

  • Badges

  • Rug Pull probability: The primary indicator, ranging from 0% to 100%, is displayed with a progress bar and a High Risk / Medium Risk / Low Risk label.

  • Contract details: This contains parameters that are displayed as a green checkmark (safe) or a red flag (risk).

  • On-chain wallet behavior, AML, intent

    Primary score

    Rug Pull Probability (0–100%)

    Predicted Trust (0–100%)

    When to use

    Before investing in a contract/pool/token

    Before transacting with a counterparty

    Smart contract code — logic of each function and dependencies

    Method

    Behavioral AI/ML — analysis of on-chain wallet history

    Static code analysis — parsing of ERC-20 function logic

    Key question

    "Can the people behind this contract be trusted?"

    "Is there malicious code in this contract?"

    What it catches

    Suspicious creators, new LP addresses, links to fraud wallets

    Honeypot, hidden mint, blacklist, selfdestruct, hidden fees, backdoors, pausable proxy, etc. (22+ threat types)

    Networks

    ETH, BNB, Base

    32+ EVM chains

    Analogy

    Catches the "bomber by handwriting"

    Catches the "bomb in the code"

    Limitations

    Rug Pull Checker Homepage
    Contact the GetBlock team

    Run the script

    main.py
    import requests
    import json
    
    url = "https://services.getblock.io/v1/wallet-audit/check"
    
    payload = json.dumps({  "network": "ETH", "address": "0xa45f...a675"})
    
    headers = {
          "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json",
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    python main.py

    Send the invite.

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

    for your new account.
  • Check the boxes to agree to the Terms of Service and Privacy Policy and complete the registration.

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

    unlimited number of teams
    .
  • One team can have a maximum of 30 users.

  • ✅

    ✅

    🔓

    Add & remove team members

    ✅

    ✅

    ❌

    Edit access levels

    ✅

    ✅

    ❌

    Promote to Admin

    ✅

    ❌

    ❌

    role and permissions
    Adding users to the team account on GetBlock
    Viewing permissions for team account users
    How to create a team account on GetBlock
    Creating an enterprise account with RPC node provider GetBlock
    Collaboration feature for GetBlock enterprise users
    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
    Using GetBlock's personal and team accounts
    Active
    Pending

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

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

    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.

    50 RPS

    $500/mo

    Unlimited

    100 RPS

    $1,000/mo

    Unlimited

    Supported Networks: Arbitrum, Base, BNB Smart Chain, Ethereum, Optimism, Polygon, Sui, TRON

    Unlimited

    150 RPS

    $500/mo

    Unlimited

    300 RPS

    $1,000/mo

    Unlimited

    15 RPS

    $150/mo

    Unlimited

    30 RPS

    $300/mo

    30 RPS

    $900/mo

    Unlimited

    50 RPS

    $1,500/mo

    Unlimited

    Ethereum

    Solana

    Bitcoin

    Base

    BNB Smart Chain

    Tron

    Polygon

    Avalanche

    Arbitrum

    Optimism

    Sui

    Limitless Node Homepage
    contact our team

    Unlimited

  • Wallet Risk Homepage

  • Rug Pull Checker Homepage

  • 2. Lending Protocol — Borrower Assessment

    3. Growth/Marketing — User Base Segmentation

    4. Token Sale/Launchpad — Investor Quality Filtering

    5. Quest Platforms — Adaptive Tasks and Sybil Protection

    6. Airdrop Campaigns — Farmer Filtering

    Limitations

    • The service only works with regular wallets (EOA — Externally Owned Accounts). Contract addresses are not supported.

    • A minimum of 10–15 transactions is required to calculate an accurate predictive score. Wallets with less history lack sufficient data for a reliable assessment

    Supported Network

    How to Audit a Wallet Address

    This report includes the following:
    1. Wallet balance, age, and number of transactions

    2. Risk Willingness / Experience Level / Risk Capability scale

    i. Risk Willingness: This measures psychological willingness to take risks. Determined by on-chain behavior: leverage usage, volatile assets, experimental protocols.

    ii. Experience Level: This measures the depth and duration of Web3 activity: number of protocols, activity duration, transaction complexity, and multi-chain activity.

    iii. Risk Capability: This measures financial ability to withstand losses, weighted by behavioral risk appetite.

    Roughly: available capital × Risk Willingness. A wallet with high willingness but a small balance gets a low Risk Capability — it can act riskily but cannot absorb meaningful loss.

    The reverse is also true: a large balance with low willingness scores low because the capital stays idle. ChainAware does not disclose the exact formula but considers asset size, diversification, and portfolio composition.

    1. Predicted trust score: The main safety indicator — the probability that the wallet is legitimate. Displayed as a percentage from 0% to 100%.

      Range
      Level
      Interpretation

    Need a custom setup (higher rate limits, dedicated infrastructure, SLA, or volume pricing)? Contact the GetBlock team.

    Next Step

    GetBlock Account Dashboard
    Wallet audit endpoint.
    Wallet Risk Doc
    Rug Pull Checker Doc
    Address Audit API Reference
    Wallet Audit Homepage

    result.parentHash

    DATA

    Parent block hash (last sealed block)

    result.stateRoot

    DATA

    Zero hash on Flashblocks (state not yet committed); real root when block seals

    result.transactions

    array

    Every transaction preconfirmed into Flashblocks so far in this in-progress block

    result.timestamp

    QUANTITY

    Timestamp of the in-progress block

    Detecting the current Flashblock index to time downstream operations

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    -32000

    Sequencer unavailable

    Flashblocks stream is temporarily down — response falls back to latest state

    blockNumber

    QUANTITY

    TAG

    Yes

    fullTransactions

    boolean

    Yes

    true for full transaction objects, false for hashes only

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_getBlockByNumber",
        "params": [
            "pending",
            false
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_getBlockByNumber",
            "params": [
                    "pending",
                    false
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": {
            "number": "0x16e3600",
            "hash": null,
            "parentHash": "0x47edbdc8da5cd1b3127ea8f1ce5da6739fa39e7e6d2eb1c9b50f1c83de0a98b4",
            "timestamp": "0x68f3b85f",
            "miner": "0x4200000000000000000000000000000000000011",
            "gasLimit": "0x3938700",
            "gasUsed": "0x1c2b40",
            "baseFeePerGas": "0x2540be400",
            "stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
            "transactions": [
                "0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"
            ],
            "size": "0x42a"
        }
    }

    result.number

    QUANTITY

    In-progress block number (the same as the next latest will be)

    result.hash

    DATA

    null for Flashblocks (block not yet sealed) — a real hash appears only after seal

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_getBlockByNumber', ["pending", false]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    // provider.getBalance(addr, 'pending'), provider.getTransactionCount(addr, 'pending'), etc.
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_getBlockByNumber',
        params: ["pending", false]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBalance({ address, blockTag: 'pending' })
    // client.getBlock({ blockTag: 'pending' })

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_getBlockByNumber",
        "params": [
            "pending",
            false
        ],
        "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_getBlockByNumber",
        "params": [
            "pending",
            false
        ],
        "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));

    result.status

    QUANTITY

    0x1 = success, 0x0 = reverted

    result.gasUsed

    QUANTITY

    Actual gas consumed

    result.effectiveGasPrice

    QUANTITY

    Effective gas price paid

    result.logs

    array of Log

    Event logs emitted during execution

    Detecting transaction revert or success before block seal

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    blockNumber

    QUANTITY

    TAG

    Yes

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({{
      "jsonrpc": "2.0",
      "method": "eth_getBlockReceipts",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
      "jsonrpc": "2.0",
      "method": "eth_getBlockReceipts",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "result": [
            {
                "type": "0x7e",
                "status": "0x1",
                "cumulativeGasUsed": "0xb496",
                "logs": [],
                "depositNonce": "0x2ddfd39",
                "depositReceiptVersion": "0x1",
                "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
                "transactionHash": "0xd6586cd3a1cf6f2a79dfdc513863cbaff925578131dc9e42872acdc3dab4aee9",
                "transactionIndex": "0x0",
                "blockHash": "0xe9526259318b13325e3926a3d29a4323d53d7e3c25ebfcf6b0f7ace7376af639",
                "blockNumber": "0x2ddfd36",
                "gasUsed": "0xb496",
                "effectiveGasPrice": "0x0",
                "blobGasUsed": "0x41e8",
                "from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
                "to": "0x4200000000000000000000000000000000000015",
                "contractAddress": null,
                "l1GasPrice": "0x1564212e",
                "l1GasUsed": "0x72a",
                "l1Fee": "0x0",
                "l1BaseFeeScalar": "0x8dd",
                "l1BlobBaseFee": "0x1571d4a",
                "l1BlobBaseFeeScalar": "0x101c12",
                "daFootprintGasScalar": "0x94"
      }
       ],
        "id": "getblock.io"
    }

    result.blockHash

    DATA

    0x00...00 (zero hash) for preconfirmed receipts; real block hash for finalized

    result.blockNumber

    QUANTITY

    null for preconfirmed; block number in hex for finalized

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_getBlockReceipts', ["pending"]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_getBlockReceipts',
        params: ["pending"]
    });
    console.log(result);

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
      "jsonrpc": "2.0",
      "method": "eth_getBlockReceipts",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
      "jsonrpc": "2.0",
      "method": "eth_getBlockReceipts",
      "params": [
        "pending"
      ],
      "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));
    Social/gaming applications reacting to on-chain events with instant UX feedback

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    -32600

    Invalid Request

    Subscription called over HTTP; use WebSocket

    -32602

    Invalid filter

    Filter object malformed — check address and topics format

    subscriptionType

    string

    Yes

    Must be "pendingLogs"

    filter

    object

    No

    Filter object: address (single address or array), topics (same format as eth_getLogs)

    import asyncio
    import json
    import websockets
    
    async def main():
        async with websockets.connect('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/') as ws:
            await ws.send(json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_subscribe",
        "params": [
            "pendingLogs",
            {
                "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
                ]
            }
        ],
        "id": "getblock.io"
    }))
            async for message in ws:
                msg = json.loads(message)
                if msg.get('method') == 'eth_subscription':
                    # Preconfirmed data update
                    print(msg['params']['result'])
                else:
                    # Subscription ID response
                    print('Subscribed:', msg.get('result'))
    
    asyncio.run(main())
    use tokio_tungstenite::connect_async;
    use tokio_tungstenite::tungstenite::Message;
    use serde_json::json;
    use futures_util::{SinkExt, StreamExt};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let (mut ws_stream, _) = connect_async("wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/").await?;
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_subscribe",
            "params": [
                    "pendingLogs",
                    {
                            "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                            "topics": [
                                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
                            ]
                    }
            ],
            "id": "getblock.io"
    });
        ws_stream.send(Message::Text(payload.to_string())).await?;
    
        while let Some(msg) = ws_stream.next().await {
            println!("{:?}", msg?);
        }
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0x7e2ef8b9c0d1e2f3a4b5c6d7e8f9a0b1"
    }

    result

    string

    Hex-encoded subscription ID. Each subsequent notification carries a Log object matching the filter, from a preconfirmed transaction

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.WebSocketProvider('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Flashblocks subscription types aren't first-class in ethers — use the raw send interface:
    const subscriptionId = await provider.send('eth_subscribe', ["pendingLogs", {"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}]);
    console.log('Subscribed:', subscriptionId);
    
    // Listen for incoming events on the WebSocket transport
    provider.websocket.addEventListener('message', (event) => {
        const msg = JSON.parse(event.data);
        if (msg.method === 'eth_subscription' && msg.params?.subscription === subscriptionId) {
            console.log('Flashblocks update:', msg.params.result);
        }
    });
    import { createPublicClient, webSocket } from 'viem';
    
    const client = createPublicClient({
        transport: webSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // Flashblocks subscription types use the raw request interface:
    const subscriptionId = await client.request({
        method: 'eth_subscribe',
        params: ["pendingLogs", {"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}]
    });
    console.log('Subscribed:', subscriptionId);

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    # WebSocket-only. Use wscat (or similar) to connect first:
    wscat -c 'wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/'
    
    # Then send:
    {"jsonrpc": "2.0", "method": "eth_subscribe", "params
    import WebSocket from 'ws';
    
    const ws = new WebSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    ws.on('open', () => {
        ws.send(JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_subscribe",
        "params": [
            "pendingLogs",
            {
                "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
                ]
            }
        ],
        "id": "getblock.io"
    }));
    });
    
    ws.on('message', (data) => {
        const msg = JSON.parse(data.toString());
        if (msg.method === 'eth_subscription') {
            // Preconfirmed data update
            console.log(msg.params.result);
        } else {
            // Subscription ID response
            console.log('Subscribed:', msg.result);
        }
    });
    Any read that needs to reflect state 200ms ahead of the standard latest tag

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    3

    execution reverted

    Contract execution reverted — the contract's logic rejected the call

    -32602

    Invalid call object

    Malformed call parameters

    callObject

    object

    Yes

    Call params: to, data, from (optional), gas (optional), gasPrice (optional), value (optional)

    block

    QUANTITY

    TAG

    Yes

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_call",
        "params": [
            {
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "data": "0x70a082310000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a"
            },
            "pending"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_call",
            "params": [
                    {
                            "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                            "data": "0x70a082310000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a"
                    },
                    "pending"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0x000000000000000000000000000000000000000000000000000000000098967f"
    }

    result

    DATA

    ABI-encoded return value from the contract call

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Generic JSON-RPC call — 'pending' returns Flashblocks-preconfirmed state:
    const result = await provider.send('eth_call', [{"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0x70a082310000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a"}, "pending"]);
    console.log(result);
    
    // Many standard methods have typed wrappers on ethers Provider that accept 'pending':
    // provider.getBalance(addr, 'pending'), provider.getTransactionCount(addr, 'pending'), etc.
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // viem's read methods accept blockTag: 'pending' for Flashblocks-preconfirmed state:
    const result = await client.request({
        method: 'eth_call',
        params: [{"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0x70a082310000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a"}, "pending"]
    });
    console.log(result);
    
    // Typed wrappers also accept blockTag: 'pending':
    // client.getBalance({ address, blockTag: 'pending' })
    // client.getBlock({ blockTag: 'pending' })

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_call",
        "params": [
            {
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "data": "0x70a082310000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a"
            },
            "pending"
        ],
        "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_call",
        "params": [
            {
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "data": "0x70a082310000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a"
            },
            "pending"
        ],
        "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));
    Front-running detection at the sub-block level

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    -32600

    Invalid Request

    Subscription called over HTTP; use WebSocket

    subscriptionType

    string

    Yes

    Must be "newFlashblockTransactions"

    includeFullObjects

    boolean

    No

    true to receive full transaction objects with logs; false (default) for hashes only

    import asyncio
    import json
    import websockets
    
    async def main():
        async with websockets.connect('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/') as ws:
            await ws.send(json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_subscribe",
        "params": [
            "newFlashblockTransactions",
            true
        ],
        "id": "getblock.io"
    }))
            async for message in ws:
                msg = json.loads(message)
                if msg.get('method') == 'eth_subscription':
                    # Preconfirmed data update
                    print(msg['params']['result'])
                else:
                    # Subscription ID response
                    print('Subscribed:', msg.get('result'))
    
    asyncio.run(main())
    use tokio_tungstenite::connect_async;
    use tokio_tungstenite::tungstenite::Message;
    use serde_json::json;
    use futures_util::{SinkExt, StreamExt};
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let (mut ws_stream, _) = connect_async("wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/").await?;
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_subscribe",
            "params": [
                    "newFlashblockTransactions",
                    true
            ],
            "id": "getblock.io"
    });
        ws_stream.send(Message::Text(payload.to_string())).await?;
    
        while let Some(msg) = ws_stream.next().await {
            println!("{:?}", msg?);
        }
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": "0x5c1de6a7b8c9d0e1f2a3b4c5d6e7f8a9"
    }

    result

    string

    Hex-encoded subscription ID. Each subsequent notification carries either a transaction hash (default) or a full transaction object with logs (true param)

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.WebSocketProvider('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Flashblocks subscription types aren't first-class in ethers — use the raw send interface:
    const subscriptionId = await provider.send('eth_subscribe', ["newFlashblockTransactions", true]);
    console.log('Subscribed:', subscriptionId);
    
    // Listen for incoming events on the WebSocket transport
    provider.websocket.addEventListener('message', (event) => {
        const msg = JSON.parse(event.data);
        if (msg.method === 'eth_subscription' && msg.params?.subscription === subscriptionId) {
            console.log('Flashblocks update:', msg.params.result);
        }
    });
    import { createPublicClient, webSocket } from 'viem';
    
    const client = createPublicClient({
        transport: webSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // Flashblocks subscription types use the raw request interface:
    const subscriptionId = await client.request({
        method: 'eth_subscribe',
        params: ["newFlashblockTransactions", true]
    });
    console.log('Subscribed:', subscriptionId);

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    # WebSocket-only. Use wscat (or similar) to connect first:
    wscat -c 'wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/'
    
    # Then send:
    {"jsonrpc": "2.0", "method": "eth_subscribe", "params
    import WebSocket from 'ws';
    
    const ws = new WebSocket('wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    ws.on('open', () => {
        ws.send(JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_subscribe",
        "params": [
            "newFlashblockTransactions",
            true
        ],
        "id": "getblock.io"
    }));
    });
    
    ws.on('message', (data) => {
        const msg = JSON.parse(data.toString());
        if (msg.method === 'eth_subscription') {
            // Preconfirmed data update
            console.log(msg.params.result);
        } else {
            // Subscription ID response
            console.log('Subscribed:', msg.result);
        }
    });

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    transactionHash

    DATA (32 bytes)

    Yes

    The 32-byte transaction hash to query

    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "base_transactionStatus",
        "params": [
            "0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "base_transactionStatus",
            "params": [
                    "0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": {
            "status": "Known"
        }
    }

    result.status

    string

    "Known" if the transaction is present in the mempool; "Unknown" if it has not been seen by this node

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Flashblocks-specific methods use the raw send interface:
    const result = await provider.send('base_transactionStatus', ["0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"]);
    console.log(result);
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // Flashblocks-specific methods need the raw request transport:
    const result = await client.request({
        method: 'base_transactionStatus',
        params: ["0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"]
    });
    console.log(result);

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "base_transactionStatus",
        "params": [
            "0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"
        ],
        "id": "getblock.io"
    }'
    import axios from 'axios';
    
    const data = JSON.stringify({
        "jsonrpc": "2.0",
        "method": "base_transactionStatus",
        "params": [
            "0xa8f9b3c7d2e4f6a1b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6"
        ],
        "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null
        .catch(error => console.log(error));
    Interpretation

    80–100%

    Low Risk

    Wallet with clean history

    50–79%

    Medium Risk

    Risk factors detected, full Wallet Audit recommended

    0–49%

    High Risk

    Wallet is highly likely associated with fraudulent activity

    0% (auto)

    1. AML Analysis: This shows 18 risk categories with each parameter displayed as No (clean) or Yes (flag detected).

    1. Sanctions Check: This shows sanctions list verification. It displayed as a badge: Not Sanctioned (green) or Sanctioned (red). If the wallet is sanctioned, the category, name, and source link are displayed.

    Yes

    AML Screening (18 categories)

    Yes

    Yes

    Sanctions Check

    Yes

    Yes

    Intentions (14 categories)

    No

    Yes

    Experience / Risk Profile

    No

    Yes

    Protocols / Categories

    No

    Yes

    Wallet Overview / Rank

    No

    Yes

    Networks

    5 (ETH, BNB, Base, Polygon, TRON)

    3 (ETH, BNB, Base)

    When to use

    Quick screening: allow / reject

    Deep analysis: who is this wallet

    Limitations

    Wallet Risk Homepage
    Rug Pull Checker Homepage
    Contact the GetBlock team
    wallet risk
    network selection

    If at least one parameter forensic_details = "1" → probabilityFraud is automatically set to 1.0 (i.e. Predicted Trust = 0%). This is a hard override; the ML model is not used.

    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.


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

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

    2. Method-specific multiplier which varies by API method

    3. Archive Modifier applied when a request is served by an archive node

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

    Where:

    • Archive Modifier = 1 for standard full-node requests

    • Archive Modifier = 2 for requests served by archive endpoint


    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:

    • Protocol complexity and the size of the blockchain data

    • Node infrastructure costs

    • Operational overhead

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

    Chains
    Multiplier

    Algorand, Bitcoin, Bitcoin Cash, Dash, Dogecoin, Ethereum Classic, Litecoin, Near, Rootstock, Sonic,Telos, Zcash, others

    10

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

    20

    Allora, Avail, Bahamut, Chiliz, Zilliqa, Xphere

    30


    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 for the full node queries.

    Ethereum RPC Method
    Method Multiplier
    Base Chain Multiplier
    Total CU

    eth_blockNumber

    1

    20

    20

    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.


    GetBlock Shared Node endpoints can be configured in Archive Mode to provide historical state access from managed archive nodes.

    To reflect the heavier load on node infrastructure, requests to these endpoints use an Archive Modifier of 2 applied on top of an existing method multiplier.

    Example: Ethereum (chain multiplier = 20), debug_traceTransaction (method multiplier = 2):

    • Regular full-node request: 20 × 2 × 1 = 40 CU

    • Archive-mode request: 20 × 2 × 2 = 80 CU (archive modifier applied)

    The table below shows CU costs for some Ethereum RPC methods when requests are sent to an archive-enabled endpoint (Archive Modifier = 2).

    Ethereum RPC Method
    Method Multiplier
    Base Chain Multiplier
    Archive Modifier
    Total CU (Archive Endpoint)

    eth_blockNumber

    1

    20

    2

    The tables above includes selected RPC methods for illustration purposes. The complete list of all CU costs is maintained on the Compute Units page.


    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.

    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.

    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.

    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.

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

    Learn More

    • — Check how many CUs are included in each plan.

    How CUs are calculated

    1. Chain-based multipliers

    2. Method-specific multipliers

    3. Archive modifier

    If a request is routed to an archive endpoint, the Archive Modifier = 2, even if the specific method does not require historical state.

    Requests sent to full node endpoints use Archive Modifier = 1.

    Why we use the CU system at GetBlock?

    🛡️ It helps keep infrastructure stable

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

    ⚙️ To help developers build smarter

    CU and rate limits

    GetBlock provides access to over 100 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 endpoints you can use simultaneously.

    • Limitless Node has no CU limits - only an RPS limit.


    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 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
    Price (monthly)
    CU Allocation
    RPS Limit
    Access Tokens (Endpoints)
    CU Top-ups

    Check for current pricing and annual discounts across all tiers.

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

    • CU: 50,000/day

    • Throughput: 20 requests per second (RPS)


    Your monthly plan CUs (main balance) are valid for the current billing cycle only. The balance is reset when your subscription renews. Main-balance CUs don't carry over.

    Extra CUs (extra balance) — anything on top of your plan allocation — do carry over to the next month, as long as your subscription stays active and renews on time.


    Limitless Node removes Compute Unit limits entirely. You can send unlimited requests within the RPS tier you choose.

    • CU: No limit

    • Rate limit: Capped at selected RPS tier


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

    • CU: Unlimited

    • Rate limit: Unlimited


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

    Rug Pull Checker Endpoint

    Example code for the /rug-pull/check method. Сomplete guide on how to use /rug-pull/check in GetBlock Address Audit documentation.

    This method checks a smart contract for rug pull indicators. Proxied to ChainAware.

    Body Parameters

    Parameter
    Type
    Required
    Description

    network

    string

    Status
    Description

    eth_simulateV1 - Flashblocks

    Example code for the eth_simulateV1 - Flashblocks method. Complete guide on how to use eth_simulateV1 - Flashblocks in GetBlock Web3 documentation.

    This simulates a bundle of transactions against the latest Flashblocks — including state overrides, transfer tracing, and full validation. This is critical for MEV searchers, liquidation bots, and any application that needs to know "what would happen if I submitted this bundle right now, given the preconfirmed state?" The simulation reflects every transaction already committed to the in-progress block.

    Parameter
    Type
    Required
    Description

    How to Use Multicall3

    Multicall3 batches multiple operations into a single transaction with atomic execution.

    Multicall3 batches multiple operations into a single transaction with atomic execution using bsc_private_tx to get MEV protection with internal fee payment.

    This is very good for most use cases, e.g., DEX swaps, token purchases, etc but consumes a lot of gas. If any part fails, the entire transaction reverts.

    This is how Multicall3 works:

    You must have the following:

    • Node.js v18 or later installed

    ,
    2
    )))
    ,
    2
    )))
    "
    :
    [
    "
    pendingLogs
    "
    ,
    {
    "
    address
    "
    :
    "
    0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
    "
    ,
    "
    topics
    "
    :
    [
    "
    0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
    "
    ]
    }
    ],
    "
    id
    "
    :
    "
    getblock.io
    "
    }
    ,
    2
    )))
    "
    :
    [
    "
    newFlashblockTransactions
    "
    ,
    true
    ],
    "
    id
    "
    :
    "
    getblock.io
    "
    }
    ,
    2
    )))

    AML Flag

    At least one AML flag detected — score automatically set to 0%

    Managing Endpoints – How to create and manage node endpoints.
  • Plans & Limits – Understanding plans and payments.

  • Getting Started
    Inviting teammates to GetBlock's team account
    GetBlock sign-up page

    0g, Akash, Atleta, Berachain, Bitlayer, Botanix, Cardano, Core, Cronos zkEVM, Etherlink, Flare, Goat, Gravity, IOTA, IOTA EVM, Immutable zkEVM, Matchain, Metis, Midnight, Monad, Movement, Nervos, Oasis, Rollux, Siacoin, Solana, Somnia, Soneium, Stacks, Stellar, Swellchain, TON, Taiko, Tenet, XDC, Xai, Zora

    50

    Kusama, Polkadot

    60

    ZKsync

    80

    Arbitrum Nova, Celo, Corn, Ink, Lens, Scroll, Shiba Inu, StarkNet, Sui, TAC, Unichain

    100

    Filecoin

    140

    Ronin

    180

    B3, Electroneum, Incentiv

    200

    Moonbeam, Sei

    300

    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

    40

    eth_getTransactionByHash

    1

    20

    2

    40

    debug_traceTransaction

    2

    20

    2

    80

    debug_traceBlock

    2

    20

    2

    80

    trace_call

    2

    20

    2

    80

    trace_transaction

    2

    20

    2

    80

    txpool_status

    2

    20

    2

    80

    trace_replayTransaction

    4

    20

    2

    160

    The Archive Modifier is applied to all requests sent to an archive-enabled endpoint.

    CU and rate limits
    How to check your CU balance in GetBlock accounts

    50–80%

    Medium Risk

    Warning signals present, additional analysis recommended

    Below 50%

    High Risk

    Behavioral patterns match known fraud schemes

  • Intentions: This predicts the next actions across categories, each receiving a score of HIGH, MEDIUM, or LOW, calculated based on the wallet's entire historical activity.

  • Recommendations: These show activities based on the wallet's risk profile. Examples: WBTC holding, ETH holding, Stablecoin lending.

  • Transaction: This shows the breakdown of historical transactions by type: DeFi, Decentralized Exchanges, Layer 1, Layer 2, NFT, Bridge, Lending & Borrowing, Business Services, Gaming. Shows the number of transactions in each category.

  • Protocols: This lists the specific protocols and services the wallet has interacted with, along with transaction counts. Examples: 1inch, Uniswap, Wrapped Ether, Tether, Zora, Arbitrum, Starknet, Opensea.

  • AML Analysis: This shows wallet check across 18+ parameters for links to criminal activity. Each parameter is displayed as Yes or No.

  • 80–100%

    Low Risk

    Behavior typical of legitimate wallets

    2

    Starter

    $49

    90M / mo

    250 RPS

    30

    Growth

    $99

    185M / mo

    300 RPS

    45

    Advanced

    $199

    385M / mo

    450 RPS

    75

    Scale

    $349

    700M / mo

    600 RPS

    105

    Pro

    $499

    1B / mo

    800 RPS

    150

    Premium

    $699

    1.6B / mo

    800 RPS

    225

    Enterprise

    from $999

    Custom

    Custom

    Custom

    Access Tokens: 2

    To increase usage limits, choose between the higher-tier options.

    For use cases that are growing beyond the free tier — a first production app or side project. Offers a significant increase in CU and RPS compared to the Free plan.

    • CU: 90M per month (~3M/day)

    • Throughput: 250 requests per second (RPS)

    • Access Tokens: 30

    • Additional CU packages can be purchased as needed.

    For apps with a growing user base: higher daily call volumes and room for several services or environments at once.

    • CU: 185M per month (~6.2M/day)

    • Throughput: 300 requests per second (RPS)

    • Access Tokens: 45

    • Additional CU packages can be purchased as needed.

    Mid-to-upper tier, production-ready plan, suitable for moderate-to-high traffic applications.

    • CU: 385M per month (~12.8M/day)

    • Throughput: 450 requests per second (RPS)

    • Access Tokens: 75

    • Add extra compute units (CU) to your account balance when needed without switching plans

    For larger apps and teams. More CU headroom and endpoints to run many services or environments from one account.

    • CU: 700M per month (~23.3M/day)

    • Throughput: 600 requests per second (RPS)

    • Access Tokens: 105

    • Extra CU packages also available

    For applications that need significantly higher throughput and increased resource availability compared to lower tier plans.

    • CU: 1B per month (~33.3M/day)

    • Throughput: 800 requests per second (RPS)

    • Access Tokens: 150

    • Purchase additional CU packages when required

    Highest standard tier before custom Enterprise terms. Built for sustained high-volume production traffic.

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

    • Throughput: 800 requests per second (RPS)

    • Access Tokens: 225

    • CU top-ups available

    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

    • Throughput: Custom

    • Access Tokens: Custom

    • Additional CU packages can be purchased on demand

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

    Free

    $0

    50,000 / day

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

    Managing unused & extra CUs

    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

    Limitless node limits

    See Limitless Node for tiers, supported chains, and setup.

    Dedicated node limits

    Access Tokens
    https://getblock.io/pricing/
    Contact our support team
    Choosing your plan
    GetBlock's free RPC node plan limits
    GetBlock's Limitless Node with fixed RPS and unlimited requests
    Dedicated node for scalable and unlimited RPC node access

    20 RPS

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

    number

    0.5488

    Rug pull probability score ranging from 0.0 to 1.0.

    contractCreationTime

    string (ISO 8601)

    "2021-11-10T12:00:00.000Z"

    Exact timestamp when the smart contract was deployed.

    lastChecked

    string (ISO 8601)

    "2026-03-25T18:42:00.000Z"

    Timestamp of the most recent security and fraud analysis.

    chain

    string

    "ETH"

    The network/blockchain name (e.g., "ETH").

    forensic_details

    object

    See sub-fields below

    Deep analysis of the contract's security properties. Core flags are binary: 0 (clean) or 1 (flagged).

    ↳ .contract_name

    string

    "PFToken"

    The registered name of the smart contract.

    ↳ .is_open_source

    number (0/1)

    1

    Indicates if the source code is verified on the network explorer.

    ↳ .is_proxy

    number (0/1)

    0

    Indicates if the contract uses a proxy pattern (allowing the underlying logic to be replaced).

    ↳ .selfdestruct

    number (0/1)

    0

    Indicates if the contract contains a selfdestruct function capability.

    ↳ .privilege_withdraw

    number (0/1)

    0

    Indicates if the owner has excessive privileges to arbitrarily withdraw user assets.

    ↳ .withdraw_missing

    number (0/1)

    0

    Indicates if critical withdrawal mechanisms are missing, preventing users from recovering funds.

    ↳ .blacklist

    number (0/1)

    0

    Indicates if the contract owner has the power to blacklist specific wallet addresses.

    ↳ .approval_abuse

    number (0/1)

    0

    Indicates if the owner can potentially abuse token allowances/approvals given by users.

    ↳ `.owner**

    object

    See sub-fields below

    Details regarding the administrative ownership of the smart contract.

    ↳ .owner_type

    string

    "contract"

    The type of owner account. Possible values: "contract" (Multi-sig/DAO/Other contract) or "eoa" (Externally Owned Account/Regular wallet).

    ↳ .owner_address

    string (nullable)

    null

    The public address of the owner. Returns null if the contract ownership has been renounced.

    502

    Provider error

    Yes

    The blockchain network to verify(ETH, BNB,POLY, TRON or BASE)

    contract_address

    string

    Yes

    the contract address

    import requests
    import json
    
    url = "https://services.getblock.io/v1/rug-pull/check"
    
    payload = json.dumps({  "network": "ETH", "contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7"})
    
    headers = {
          "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json",
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({  "network": "ETH", "contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7"});
    
        let response = client
            .post("https://services.getblock.io/v1/rug-pull/check")
            .header("Content-Type", "application/json")
            .header("Authorization: "Bearer YOUR_API_KEY")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "data": {
            "message": "Success",
            "contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
            "pairAddress": null,
            "contractCreatorAddress": "0x36928500bc1dcd7af6a2b4008875cc336b927d57",
            "risk_score": 0,
            "risk_status": null,
            "risk_indicators": {},
            "status": "Not Fraud",
            "probabilityFraud": "0.0028322712",
            "chain": "ETH",
            "lastChecked": "2026-05-14T14:23:18.000Z",
            "contractCreationTime": "2017-11-28T00:41:21.000Z",
            "forensic_details": {
                "owner": {
                    "owner_address": "0xc6cde7c39eb2f0f0095f41570af89efc2c1ea828",
                    "owner_name": "owner",
                    "owner_type": "contract"
                },
                "privilege_withdraw": 0,
                "withdraw_missing": 0,
                "is_open_source": 1,
                "blacklist": 1,
                "contract_name": "TetherToken",
                "selfdestruct": 0,
                "is_proxy": 0,
                "approval_abuse": 0
            },
            "checked_times": 1,
            "createdAt": "2025-09-04T04:55:17.000Z",
            "updatedAt": "2026-05-14T14:23:20.000Z"
        }
    }

    Field Path

    Type

    Example

    Description

    status

    string

    "Fraud"

    Model verdict. Possible values: "Fraud", "Not Fraud", "Investable", "Not Investable", "Safe".

    400

    Invalid network or missing fields

    401

    Missing or invalid auth

    402

    Insufficient balance

    Request Example

    Response Example

    Response Parameters

    Error Handling

    curl --location --request POST 'https://services.getblock.io/v1/rug-pull/check' \
    -- header 'Authorization: Bearer YOUR_API_KEY',
    --header 'Content-Type: application/json' \
    --data-raw ' {  "network": "ETH", "contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7"}'
    import axios from "axios";
    
    const data = 
      {  "network": "ETH", "contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7"};
    
    const config = {
      method: "post",
      url: "https://services.getblock.io/v1/rug-pull/check",
      headers: {
        Authorization: "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
      },
      data: data,
    };
    
    axios(config)
      .then((response) => console.log(JSON.stringify(response.data,
      .catch((error) => console.log(error));
    

    probabilityFraud

    object

    Yes

    Simulation object: blockStateCalls (array of call bundles), traceTransfers (bool), validation (bool)

    block

    QUANTITY

    TAG

    Yes

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
    
    import axios from 'axios';
    
    const data = JSON.stringify({
        "jsonrpc": "2.0",
        "method": "eth_simulateV1",
        "params": [
            {
                "blockStateCalls": [
                    {
                        "calls": [
                            {
                                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                                "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0",
                                "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a"
                            }
                        ],
                        "stateOverrides": {}
                    }
                ],
                "traceTransfers": true,
                "validation": true
            },
            "pending"
        ],
        "id": "getblock.io"
    });
    
    const config = {
        method: 'post',
        url: 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers: {
            'Content-Type': 'application/json'
        },
        data: data
    };
    
    axios(config)
        .then(response => console.log(JSON.stringify(response.data, null, 2)))
        .catch(error => console.log(error));
    import requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_simulateV1",
        "params": [
            {
                "blockStateCalls": [
                    {
                        "calls": [
                            {
                                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                                "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0",
                                "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a"
                            }
                        ],
                        "stateOverrides": {}
                    }
                ],
                "traceTransfers": true,
                "validation": true
            },
            "pending"
        ],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({
            "jsonrpc": "2.0",
            "method": "eth_simulateV1",
            "params": [
                    {
                            "blockStateCalls": [
                                    {
                                            "calls": [
                                                    {
                                                            "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                                                            "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0",
                                                            "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a"
                                                    }
                                            ],
                                            "stateOverrides": {}
                                    }
                            ],
                            "traceTransfers": true,
                            "validation": true
                    },
                    "pending"
            ],
            "id": "getblock.io"
    });
    
        let response = client
            .post("https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/")
            .header("Content-Type", "application/json")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    Field
    Type
    Description

    result

    array

    Simulated block(s) — one entry per block state call bundle

    result[].calls

    array

    Per-call simulation result

    • MEV searchers testing bundle profitability against preconfirmed state

    • Liquidation bots validating a liquidation call would succeed at the current preconfirmed price

    • DEX aggregators simulating multi-hop swap routes against the freshest reserves

    • Wallet UX preflight — showing users the projected outcome of their transaction before signing

    Status Code
    Error Message
    Cause

    403

    Forbidden

    Missing or invalid <ACCESS-TOKEN>

    -32602

    Invalid params

    Request parameters are missing or malformed

    import { ethers } from 'ethers';
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    // Flashblocks-specific methods use the raw send interface:
    const result = await provider.send('eth_simulateV1', [{"blockStateCalls": [{"calls": [{"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0", "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a"}], "stateOverrides": {}}], "traceTransfers": true, "validation": true}, "pending"]);
    console.log(result);
    import { createPublicClient, http } from 'viem';
    
    const client = createPublicClient({
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    // Flashblocks-specific methods need the raw request transport:
    const result = await client.request({
        method: 'eth_simulateV1',
        params: [{"blockStateCalls": [{"calls": [{"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0", "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a"}], "stateOverrides": {}}], "traceTransfers": true, "validation": true}, "pending"]
    });
    console.log(result);

    Parameters

    simulationParams

    {
        "jsonrpc": "2.0",
        "id": "getblock.io",
        "result": [
            {
                "number": "0x16e3600",
                "hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "timestamp": "0x68f3b85f",
                "gasLimit": "0x3938700",
                "gasUsed": "0x5208",
                "calls": [
                    {
                        "status": "0x1",
                        "gasUsed": "0x5208",
                        "returnData": "0x0000000000000000000000000000000000000000000000000000000000000001",
                        "logs": [
                            {
                                "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                                "topics": [
                                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
                                ],
                                "data": "0x00000000000000000000000000000000000000000000000000000000000186a0"
                            }
                        ]
                    }
                ]
            }
        ]
    }

    Request Example

    Response Example

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    A funded BSC wallet with sufficient BNB for transactions and gas

  • GetBlock's BSC Accelerated Dedication Node

  • Address
    Purpose

    0xcA11bde05977b3631167028862bE2a173976CA11

    Multicall3 contract

    0x6374Ca2da5646C73Eb444aB99780495d61035f9b

    Gateway fee recipient

    1

    Set up the project

    mkdir multicall3-example
    cd multicall3-example
    npm init -y
    npm install ws ethers dotenv
    mkdir multicall3-example
    cd multicall3-example
    yarn init -y
    yarn ws ethers
    2

    Create a new file named index.js. This is where you will make your first call.

    3

    Set the ES module "type": "module" in your package.json.

    4

    Create .env file and add the following:

    5

    Add the following code to index.js:

    The following example demonstrates a simple BNB transfer with a priority fee:

    6

    Run the code using this command:

    7

    Sample response

    You can extend this code for a DEX swap by encoding the router call and including it as the second Multicall3 call:

    Problem
    Solution

    "Multicall3: call failed"

    • Check you have enough BNB for all calls + gas

    • Increase gas limit to 200000

    • Verify target addresses are correct

    TX not included

    • Increase tip amount

    • Check if you're rate limited

    • Verify TX is valid (simulate first)

    Low priority despite tip

    • Increase tip amount

    • Check builder status

    • Try different builders: mev_builders: ["48club", "bloxroute"]

    This is the simplest method for adding tips to private transactions: batch multiple operations into a single transaction with atomic execution. This is very good and highly recommended for day-to-day activities like sending transactions or DEX swaps.

    How it works

    Prerequisites

    const PANCAKE_ROUTER = '0x10ED43C718714eb63d5aA57B78B54704E256024E';
    const WBNB = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c';
    const TOKEN_ADDRESS = '0xYOUR_TOKEN_ADDRESS';
    
    // Build the swap calldata
    const routerABI = [
      'function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline)'
    ];
    const router = new ethers.Contract(PANCAKE_ROUTER, routerABI, wallet);
    
    const deadline = Math.floor(Date.now() / 1000) + 300;  // 5 minutes from now
    const swapData = router.interface.encodeFunctionData('swapExactETHForTokens', [
      minAmountOut,
      [WBNB, TOKEN_ADDRESS],
      wallet.address,
      deadline
    ]);
    
    // Construct the Multicall3 calls
    const calls = [
      {
        target: BLOXROUTE_FEE,
        allowFailure: false,
        value: ethers.parseEther('0.0005'),  // Priority fee
        callData: '0x'
      },
      {
        target: PANCAKE_ROUTER,
        allowFailure: false,
        value: ethers.parseEther('1.0'),  // Swap amount
        callData: swapData
      }
    ];

    Reference Addresses

    Example

    Extension sample

    Troubleshooting

    Conclusion

    eth_getLogs - Flashblocks

    Example code for the eth_getLogs JSON-RPC method. Complete guide on how to use eth_getLogs JSON-RPC in GetBlock Web3 documentation.

    This returns query logs from pre-confirmed transactions, updated every ~200ms.

    Parameters

    Parameter
    Type
    Required
    Description

    filterObject

    object

    Field
    Type
    Required
    Description
    Parameter
    Type
    Description
    • Token Transfer Tracking: Monitor ERC-20/ERC-721 transfers

    • DEX Event Processing: Track swaps, liquidity events

    • Contract Event Indexing: Build event-driven databases

    Error Code
    Message
    Description

    How to Submit Transactions to Public Mempool

    Learn how to submit transactions to the BNB Chain public mempool through GetBlock's BDN fast path.

    This process involves submitting transactions to the BNB Chain public mempool via GetBlock's BDN fast path. Your transaction propagates to validators significantly faster than through standard P2P gossip, increasing the probability of earlier block inclusion.

    Use public mempool submission when:

    • You want faster propagation without hiding your transaction

    • MEV exposure is acceptable for your use case

    null
    ,
    2
    )))
    '
    \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_simulateV1",
    "params": [
    {
    "blockStateCalls": [
    {
    "calls": [
    {
    "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "data": "0xa9059cbb0000000000000000000000007a25d0f0ff6a25f36de0a19c3d5f6dc2c6eaed6a00000000000000000000000000000000000000000000000000000000000186a0",
    "from": "0x7a25d0f0Ff6a25f36De0a19C3d5f6dC2C6EAeD6a"
    }
    ],
    "stateOverrides": {}
    }
    ],
    "traceTransfers": true,
    "validation": true
    },
    "pending"
    ],
    "id": "getblock.io"
    }'

    result[].calls[].status

    QUANTITY

    0x1 = success, 0x0 = reverted

    result[].calls[].gasUsed

    QUANTITY

    Gas consumed by the call

    result[].calls[].returnData

    DATA

    ABI-encoded return value

    result[].calls[].logs

    array

    Event logs the call would emit

    -32603

    Internal error

    Server-side error while processing the request

    429

    Too Many Requests

    Rate limit exceeded for your plan

    3

    execution reverted

    One or more calls in the simulation reverted

    -32602

    Invalid simulation parameters

    Malformed simulation object

    Starter plan limits for Shared RPC nodes by GetBlock
    GetBlock "Growth" RPC plan limits
    GetBlock Advanced plan CU limits and RPS limits
    GetBlock's "Scale" RPC node plan limits - Compute Units (CUs) and requests-per-second
    GetBlock's "Pro" subscription plan CU allowance and rate limits
    GetBlock's RPC plan with highest request and RPS limits - "Premium"
    GetBlock's Enterprise plan with custom usage limit settings

    No

    End block number (hex) or "latest", "earliest"

    address

    string/array

    No

    Contract address or array of addresses

    topics

    array

    No

    Array of topic filters (up to 4 topics)

    blockHash

    string

    No

    Specific block hash (alternative to fromBlock/toBlock)

    data

    string

    Non-indexed event data (hex)

    blockNumber

    string

    Block number in hex

    transactionHash

    string

    Transaction hash

    transactionIndex

    string

    Transaction index in block (hex)

    blockHash

    string

    Block hash

    logIndex

    string

    Log index in block (hex)

    removed

    boolean

    True if log was removed due to chain reorg

    Real-time Notifications: Alert on specific events
  • Historical Analysis: Analyze past contract activity

  • -32005

    Query returned more than limit

    Too many logs in response

    Yes

    Filter options object

    fromBlock

    string

    No

    Start block number (hex) or "latest", "earliest" or "pending"

    toBlock

    address

    string

    Contract address that emitted the log

    topics

    array

    Indexed event parameters (up to 4)

    -32602

    Invalid params

    Invalid filter object

    -32603

    Internal error

    Query range too large or node failure

    Filter Object

    Request

    Response

    Response Parameters

    Use Cases

    Error Handling

    SDK Integration

    curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "eth_getLogs",
        "params": [{
          "fromBlock": "pending",
          "toBlock": "pending",
          "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]
        }],
        "id": 1
      }'
    const axios = require('axios');
    
    // Query ERC-20 Transfer events
    const transferTopic = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef';
    
    const response = await axios.post('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/', {
        "jsonrpc": "2.0",
        "method": "eth_getLogs",
        "params": [{
          "fromBlock": "pending",
          "toBlock": "pending",
          "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }],
        "id": 1
      }, {
        headers: { 'Content-Type': 'application/json' }
    });
    
    const logs = response.data.result;
    console.log('Found', logs.length, 'transfer events');
    logs.forEach(log => {
        console.log('Block:', parseInt(log.blockNumber, 16));
        console.log('Tx:', log.transactionHash);
    });

    string

    ACCESS_TOKEN=your-accelerated-node-endpoint
    RPC_URL=your-normal-bsc-node-endppoint //e.g https
    PRIVATE_KEY=your-wallet-private-key
    import WebSocket from "ws"; 
    import { ethers } from "ethers";
    import "dotenv/config";
    const PRIVATE_KEY = process.env.PRIVATE_KEY
    const RPC_URL = process.env.RPC_URL;
    
    // Constants
    const MULTICALL3 = "0xcA11bde05977b3631167028862bE2a173976CA11";
    const BLOXROUTE_FEE = "0x6374Ca2da5646C73Eb444aB99780495d61035f9b";
    
    const MULTICALL_ABI = [
      "function aggregate3Value(tuple(address target, bool allowFailure, uint256 value, bytes callData)[] calls) payable returns (tuple(bool success, bytes returnData)[])",
    ];
    
    async function sendPrivateTxWithTip() {
      const provider = new ethers.JsonRpcProvider(RPC_URL);
      const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
    
      console.log("Wallet:", wallet.address);
    
      // Define amounts
      const tipAmount = ethers.parseEther("0.0001"); // 0.0001 BNB tip
      const transferAmount = ethers.parseEther("0.001"); // Your actual transfer
      const totalValue = tipAmount + transferAmount;
    
      // Build Multicall3 calls
      const calls = [
        {
          target: BLOXROUTE_FEE, // Tip payment FIRST
          allowFailure: false,
          value: tipAmount,
          callData: "0x", // Empty = simple transfer
        },
        {
          target: process.env.TO_ADDRESS, // Your actual transaction
          allowFailure: false,
          value: transferAmount,
          callData: "0x", // Or your contract calldata
        },
      ];
      // Encode Multicall3 call
      const multicall = new ethers.Contract(MULTICALL3, MULTICALL_ABI, wallet);
      const data = multicall.interface.encodeFunctionData("aggregate3Value", [
        calls,
      ]);
      // Get nonce
      const nonce = await provider.getTransactionCount(wallet.address);
      // Sign transaction
      const signedTx = await wallet.signTransaction({
        nonce: nonce,
        to: MULTICALL3,
        value: totalValue,
        data: data,
        gasPrice: ethers.parseUnits("3", "gwei"),
        gasLimit: 150000, // Higher for Multicall3
        chainId: 56,
      });
      const signedTxNoPrefix = signedTx.startsWith("0x")
      ? signedTx.slice(2)
      : signedTx;
    
      console.log("Transaction built:");
      console.log("  Tip:", ethers.formatEther(tipAmount), "BNB");
      console.log("  Transfer:", ethers.formatEther(transferAmount), "BNB");
      console.log("  Total:", ethers.formatEther(totalValue), "BNB");
    
      // Send via bsc_private_tx
      const ws = new WebSocket(process.env.ACCESS_TOKEN);
    
      ws.on("open", () => {
        const request = {
          jsonrpc: "2.0",
          id: 1,
          method: "bsc_private_tx",
          params: {
            transaction: signedTxNoPrefix,
            mev_builders: ["all"],
          },
        };
    
        console.log("\nSending private TX with tip...");
        ws.send(JSON.stringify(request));
      });
    
      ws.on("message", (data) => {
        const response = JSON.parse(data);
    
        if (response.result) {
          console.log("\n✅ Transaction submitted!");
          console.log("TX Hash:", response.result.txHash);
          console.log(
            "BSCScan:",
            `https://bscscan.com/tx/${response.result.txHash}`,
          );
        } else {
          console.error("\n❌ Error:", response.error);
        }
    
        ws.close();
      });
    }
    sendPrivateTxWithTip().catch(console.error);
    
    node index.js
    Wallet: 0xD1AF2dAc.....
    Transaction built:
      Tip: 0.0001 BNB
      Transfer: 0.001 BNB
      Total: 0.0011 BNB
    Sending private TX with tip...
    ✅ Transaction submitted!
    TX Hash: 61bd625be986bb45e9fb495a5dba7bf39e00fd6871176971663436465311c970
    BSCScan: https://bscscan.com/tx/61bd625be986bb45e9fb495a5dba7bf39e00fd6871176971663436465311c970
    import requests
    
    # ERC-20 Transfer event signature
    transfer_topic = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
    
    response = requests.post(
        'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/',
        headers={'Content-Type': 'application/json'},
        json={
        "jsonrpc": "2.0",
        "method": "eth_getLogs",
        "params": [{
          "fromBlock": "pending",
          "toBlock": "pending",
          "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        }],
        "id": "getblock.io"
      }
    )
    
    result = response.json()
    logs = result['result']
    print(f'Found {len(logs)} transfer events')
    for log in logs:
        print(f'Block: {int(log["blockNumber"], 16)}')
    {
        "jsonrpc": "2.0",
        "result": [
            {
                "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x000000000000000000000000b2cc224c1c9fee385f8ad6a55b4d94e92359dc59",
                    "0x00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f"
                ],
                "data": "0x00000000000000000000000000000000000000000000000000000000c2c9d499",
                "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "blockNumber": "0x2ddffa0",
                "blockTimestamp": "0x6a465c23",
                "transactionHash": "0xfe22be1e04c2b149559b7244f4c5b03693a071cfa5a834590dc16bed318ebeab",
                "transactionIndex": "0x1",
                "logIndex": "0x0",
                "removed": false
            },
            {
                "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x0000000000000000000000004e962bb3889bf030368f56810a9c96b83cb3e778",
                    "0x00000000000000000000000051c72848c68a965f66fa7a88855f9f7784502a7f"
                ],
                "data": "0x00000000000000000000000000000000000000000000000000000001309ccb9c",
                "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "blockNumber": "0x2ddffa0",
                "blockTimestamp": "0x6a465c23",
                "transactionHash": "0x201d890aee2c4b934801032f2b72e888c6a332cda7ccd76cf9e549bd166bf91a",
                "transactionIndex": "0x3",
                "logIndex": "0x3",
                "removed": false
            },
            {
                "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x000000000000000000000000d4dc229a997a73e86c13e3ce8019be02cd4827a6",
                    "0x0000000000000000000000009e7243b98a8a9713cb9dc37fe9f18879f0e64dcb"
                ],
                "data": "0x0000000000000000000000000000000000000000000000000000000000d7057c",
                "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "blockNumber": "0x2ddffa0",
                "blockTimestamp": "0x6a465c23",
                "transactionHash": "0x0f9c2aee37cff0d3cc5564c685923f6d19ec5c7c6a0d7234ee6fe06655950a2b",
                "transactionIndex": "0xb",
                "logIndex": "0x7",
                "removed": false
            },
            {
                "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x00000000000000000000000040378d78b14f46c35e2f69590b733e5275ac1d3b",
                    "0x000000000000000000000000fb08f1c035c05d5c12e12657baee1d1d951c2c6c"
                ],
                "data": "0x0000000000000000000000000000000000000000000000000000000005f5e100",
                "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "blockNumber": "0x2ddffa0",
                "blockTimestamp": "0x6a465c23",
                "transactionHash": "0xc93d2aca48444c29d5538c2a79fe8bc13047f4efa656e0cc6877db0de8ea553c",
                "transactionIndex": "0xd",
                "logIndex": "0xb",
                "removed": false
            },
        ],
        "id": "getblock.io"
    }
    const { ethers } = require('ethers');
    
    const provider = new ethers.JsonRpcProvider('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/');
    
    async function getLogs() {
        // Using filter
        const filter = {
            address: '0x4200000000000000000000000000000000000006', // WETH
            topics: [
                ethers.id('Transfer(address,address,uint256)')
            ],
            fromBlock: 'pending',
            toBlock: 'latest'
        };
        
        const logs = await provider.getLogs(filter);
        
        logs.forEach(log => {
            console.log('Block:', log.blockNumber);
            console.log('Tx:', log.transactionHash);
            console.log('Data:', log.data);
        });
        
        return logs;
    }
    
    // Using Contract interface for parsed events
    async function getTransferEvents() {
        const abi = ['event Transfer(address indexed from, address indexed to, uint256 value)'];
        const contract = new ethers.Contract(
            '0x4200000000000000000000000000000000000006',
            abi,
            provider
        );
        
        const filter = contract.filters.Transfer();
        const events = await contract.queryFilter(filter, -100, 'latest');
        
        events.forEach(event => {
            console.log('From:', event.args.from);
            console.log('To:', event.args.to);
            console.log('Value:', ethers.formatEther(event.args.value));
        });
        
        return events;
    }
    
    getLogs();
    import { createPublicClient, http, parseAbiItem } from 'viem';
    import { base } from 'viem/chains';
    
    const client = createPublicClient({
        chain: base,
        transport: http('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/')
    });
    
    async function getLogs() {
        const logs = await client.getLogs({
            address: '0x4200000000000000000000000000000000000006',
            event: parseAbiItem('event Transfer(address indexed from, address indexed to, uint256 value)'),
            fromBlock: 'pending',
            toBlock: 'latest'
        });
        
        logs.forEach(log => {
            console.log('From:', log.args.from);
            console.log('To:', log.args.to);
            console.log('Value:', log.args.value);
        });
        
        return logs;
    }
    
    // Watch for new logs
    async function watchLogs() {
        const unwatch = client.watchEvent({
            address: '0x4200000000000000000000000000000000000006',
            event: parseAbiItem('event Transfer(address indexed from, address indexed to, uint256 value)'),
            onLogs: logs => {
                logs.forEach(log => {
                    console.log('New Transfer:', log.args);
                });
            }
        });
        
        return unwatch;
    }
    
    getLogs();

    You're competing on speed rather than privacy

  • You need broad validator visibility quickly

  • For MEV-sensitive transactions, see Private Transactions instead.

    wss://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>
    blxr_tx
    Parameter
    Type
    Required
    Description

    nonce

    int

    Yes

    1

    Set up the project

    mkdir transaction-public-mempool
    cd transaction-public-mempool
    
    mkdir transaction-public-mempool
    cd transaction-public-mempool
    
    2

    Create a new file named index.js. This is where you will make your first call.

    3

    Set the ES module "type": "module" in your package.json.

    4

    Create .env file and add the following:

    5

    Add the following code to index.js:

    6
    7

    Create and Sign Your Transaction

    8

    Submit via WebSocket

    9

    Response

    Priority
    Gas Price
    Use Case

    Standard

    3 gwei

    Regular transfers

    Fast

    5 gwei

    Time-sensitive trades

    1. "nonce too low"

    Your nonce is behind the network state. Fetch the latest:

    1. "insufficient funds"

    Ensure you have enough BNB for both the transaction value and gas:

    1. "replacement transaction underpriced"

    If replacing a pending transaction, increase the gas price by at least 10%:

    1. Transaction not included

    • Increase gas price for higher priority

    • Check that the transaction is valid

    • Verify sufficient balance

    For transactions that need MEV protection, see:

    • Private Transactions — Hidden from public mempool

    • Private Transactions with Tips — Prioritized private submission

    When to Use Public Mempool

    const nonce = await provider.getTransactionCount(wallet.address, 'pending');
    Required = value + (gasPrice × gasLimit)
    const newGasPrice = existingGasPrice * 110n / 100n;

    Sample Request

    How to Submit a Transaction to Public Mempool

    Complete Example: BNB Transfer
    Complete Example: Token Swap on PancakeSwap

    Gas Price Recommendations

    Note: Higher gas prices increase inclusion priority but also increase transaction cost.

    Troubleshooting

    Next Steps

    How to extend your node subscription with a card payment

    Wallet Risk Endpoint

    Example code for the /wallet-audit/check method. Сomplete guide on how to use /wallet-audit/check in GetBlock Address Audit documentation.

    This method performs a quick risk score check on a wallet address. Supports more networks than the full audit.

    Parameter
    Type
    Required
    Description

    How to Submit a Transaction to Private Mempool

    Learn how to submit transaction to private mempool directly to block builders, protecting you from MEV extraction until it's included in a block.

    When you submit a transaction to the public mempool, it's visible to everyone. MEV bots can:

    • Sandwich your trade: Place orders before and after yours to extract value

    • Front-run you: Copy your trade and execute it first

    npm init -y
    npm install ws ethers dotenv
    yarn init -y
    yarn ws ethers dotenv

    Transaction count for your address

    to

    string

    Yes

    Recipient address

    value

    BigInt

    Yes

    Amount in wei

    gasPrice

    BigInt

    Yes

    Gas price (minimum 3 gwei)

    gasLimit

    int

    Yes

    Gas limit for execution

    data

    string

    No

    Calldata for contract calls

    chainId

    int

    Yes

    56 for BSC Mainnet

    Urgent

    10+ gwei

    Competitive scenarios

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "blxr_tx",
      "params": ["0x<signed_transaction_hex>"]
    }
    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": "0x<transaction_hash>"
    }
    import WebSocket from "ws";
    import { ethers } from "ethers";
    import "dotenv/config";
    
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL;
    const provider = new ethers.JsonRpcProvider(RPC_URL);
    const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
    
    
    // Get current nonce
    const nonce = await provider.getTransactionCount(wallet.address);
    
    // Build transaction
    const tx = {
      nonce: nonce,
      to: "0xd26ea0f03100358b2Ebd4c9638f042aAda9a1BcF",
      value: ethers.parseEther("0.001"),
      gasPrice: ethers.parseUnits("3", "gwei"), // Minimum 3 gwei for BSC
      gasLimit: 21000,
      chainId: 56, // BSC Mainnet
    };
    
    // Sign transaction
    const signedTx = await wallet.signTransaction(tx); // e.g. "0xabcdef..."
    const signedTxNoPrefix = signedTx.startsWith("0x")
      ? signedTx.slice(2)
      : signedTx;
    
    console.log(signedTxNoPrefix);
    
    const ws = new WebSocket(process.env.ACCESS_TOKEN);
    ws.on("open", () => {
      ws.send(
        JSON.stringify({
          jsonrpc: "2.0",
          id: 1,
          method: "blxr_tx",
          params: {"transaction": signedTxNoPrefix},
        }),
      );
    });
    
    ws.on("message", (data) => {
      const response = JSON.parse(data);
      if (response.result?.txHash) {
      const hash = response.result.txHash;
      console.log("TX Hash:", hash);
      console.log(`https://bscscan.com/tx/${hash}`);
    } else if (response.error) {
        console.error("❌ Error:", response.error.message);
      }
    
      ws.close();
    });
    ACCESS_TOKEN=your-accelerated-node-endpoint
    RPC_URL=your-normal-bsc-node-endppoint //e.g https
    PRIVATE_KEY=your-wallet-private-key
    TO_ADDRESS=the-receiver-address
    import WebSocket from "ws";
    import { ethers } from "ethers";
    import "dotenv/config";
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL;
    const provider = new ethers.JsonRpcProvider(RPC_URL);
    const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
    
    // Get current nonce
    const nonce = await provider.getTransactionCount(wallet.address);
    // Build transaction
    const tx = {
      nonce: nonce,
      to: process.env.TO_ADDRESS,
      value: ethers.parseEther("0.001"),
      gasPrice: ethers.parseUnits("3", "gwei"), // Minimum 3 gwei for BSC
      gasLimit: 21000,
      chainId: 56, // BSC Mainnet
    };
    // Sign transaction
    const signedTx = await wallet.signTransaction(tx); 
    const signedTxNoPrefix = signedTx.startsWith("0x")
      ? signedTx.slice(2)
      : signedTx;
    const ws = new WebSocket(process.env.ACCESS_TOKEN);
    ws.on("open", () => {
      ws.send(
        JSON.stringify({
          jsonrpc: "2.0",
          id: 1,
          method: "blxr_tx",
          params: {"transaction": signedTxNoPrefix},
        }),
      );
    });
    ws.on("message", (data) => {
      const response = JSON.parse(data);
      if (response.result?.txHash) {
      const hash = response.result.txHash;
      console.log("TX Hash:", hash);
      console.log(`https://bscscan.com/tx/${hash}`);
    } else if (response.error) {
        console.error("❌ Error:", response.error.message);
      }
      ws.close();
    });
    01f86c380384b2d05e0082520894d26ea0f03100358b2ebd4c9638f042aada9a1bcf87038d7ea4c6800080c001a04647f98754480337ae409bcc225f2d62b706b47f31385221421cea20e41080b0a03ae32f07bb7110c4153c2ab121c152db7d3030d54cc0c5341f0b75b20e3d439d
    TX Hash: 00d4fe2db5c667ce549318cf621913af1bcb130022ec51020cbb6cae2b7eedce
    https://bscscan.com/tx/00d4fe2db5c667ce549318cf621913af1bcb130022ec51020cbb6cae2b7eedce
    import WebSocket from 'ws';
    import { ethers } from 'ethers';
    import 'dotenv/config';
    
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL;
    
    const PANCAKE_ROUTER = '0x10ED43C718714eb63d5aA57B78B54704E256024E';
    const WBNB = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c';
    
    async function swapBNBForToken(tokenAddress, amountBNB, minAmountOut) {
      const provider = new ethers.JsonRpcProvider(RPC_URL);
      const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
      
      // Router ABI
      const routerABI = [
        'function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable'
      ];
      const router = new ethers.Contract(PANCAKE_ROUTER, routerABI, wallet);
      
      // Build swap calldata
      const deadline = Math.floor(Date.now() / 1000) + 300;  // 5 minutes
      const swapData = router.interface.encodeFunctionData('swapExactETHForTokens', [
        minAmountOut,
        [WBNB, tokenAddress],
        wallet.address,
        deadline
      ]);
      
      // Get nonce
      const nonce = await provider.getTransactionCount(wallet.address);
      
      // Build transaction
      const tx = {
        nonce: nonce,
        to: PANCAKE_ROUTER,
        value: ethers.parseEther(amountBNB),
        data: swapData,
        gasPrice: ethers.parseUnits('3', 'gwei'),
        gasLimit: 300000,  // Higher gas limit for swaps
        chainId: 56
      };
      
      // Sign transaction
      const signedTx = await wallet.signTransaction(tx);
      const signedTxNoPrefix = signedTx.startsWith("0x")
     ? signedTx.slice(2)
     : signedTx;
      
      console.log('Swap details:');
      console.log('  Amount:', amountBNB, 'BNB');
      console.log('  Token:', tokenAddress);
      console.log('  Min out:', ethers.formatEther(minAmountOut));
      
      // Submit via BDN
     const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
      
      return new Promise((resolve, reject) => {
        ws.on('open', () => {
          ws.send(JSON.stringify({
            jsonrpc: '2.0',
            id: 1,
            method: "blxr_tx",
            params: {"transaction": signedTxNoPrefix},
          }));
        });
        
        ws.on('message', (data) => {
          const response = JSON.parse(data);
          ws.close();
          
          if (response.result) {
            console.log('\n✅ Swap submitted!');
            console.log('TX Hash:', response.result);
            resolve(response.result);
          } else {
            console.error('\n❌ Error:', response.error);
            reject(response.error);
          }
        });
      });
    }
    
    // Usage: Swap 0.001 BNB for BUSD
    swapBNBForToken(
      '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56',  // BUSD
      '0.001',                                          // 0.001 BNB
      ethers.parseEther('50')                         // Min 50 BUSD
    ).catch(console.error);

    Yes

    The blockchain network to verify(ETH, BNB,POLY, TRON or BASE)

    address

    string

    Yes

    the wallet address

    curl --location --request POST 'https://services.getblock.io/v1/wallet-audit/check
    
    import axios from "axios";
    
    import requests
    import json
    
    url = "https://services.getblock.io/v1/wallet-audit/check"
    
    payload = json.dumps({  "network": "ETH", "address": "0xa45f...a675"})
    
    headers = {
          "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json",
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({  "network": "ETH", "address": "0xa45f...a675"});
    
        let response = client
            .post("https://services.getblock.io/v1/wallet-audit/check")
            .header("Content-Type", "application/json")
            .header("Authorization: "Bearer YOUR_API_KEY")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }

    Field Path

    Type

    Example

    Description

    status

    string

    "Not Fraud"

    ML model verdict. Possible values: "Not Fraud", "Fraud", "New Address".

    Status
    Description

    400

    Invalid network or missing fields

    401

    Missing or invalid auth

    402

    Insufficient balance

    network

    Body Parameters

    string

    {
        "data": {
            "message": "Success",
            "walletAddress": "0xa45f...a675",
            "status": "Fraud",
            "probabilityFraud": "0.9329851866",
            "token": null,
            "chain": "ETH",
            "lastChecked": "2026-03-19T07:02:56.000Z",
            "forensic_details": {
                "cybercrime": "0",
                "money_laundering": "0",
                "number_of_malicious_contracts_created": "0",
                "gas_abuse": "0",
                "financial_crime": "0",
                "darkweb_transactions": "0",
                "reinit": "0",
                "phishing_activities": "0",
                "fake_kyc": "0",
                "blacklist_doubt": "0",
                "fake_standard_interface": "0",
                "data_source": "",
                "stealing_attack": "0",
                "blackmail_activities": "0",
                "sanctioned": "0",
                "malicious_mining_activities": "0",
                "mixer": "0",
                "fake_token": "0",
                "honeypot_related_address": "0"
            },
            "checked_times": 7,
            "createdAt": "2026-03-19T06:52:28.000Z",
            "updatedAt": "2026-05-18T11:11:19.000Z",
            "sanctionData": [
                {
                    "id": 212143,
                    "trustscore_id": 18360032,
                    "category": null,
                    "name": null,
                    "description": null,
                    "url": null,
                    "isSanctioned": false,
                    "createdAt": "2026-05-18T11:11:19.000Z",
                    "updatedAt": "2026-05-18T11:11:19.000Z"
                }
            ]
        }
    }

    Request Example

    Response Example

    Response Parameters

    Error Handling

    Back-run you: Profit from the price impact you create

    Meanwhile, Private transactions eliminate this exposure by hiding your transactions until they are included.

    Aspect
    Public Mempool
    Private TX

    Visibility

    Everyone sees it

    Only builders see it

    MEV exposure

    Vulnerable

    Protected

    Use private transactions when:

    • Executing large swaps that could be sandwiched

    • Trading tokens with low liquidity

    • Running strategies you don't want copied

    • Protecting any transaction from front-running

    wss://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>
    bsc_private_tx
    Parameter
    Type
    Required
    Description

    transaction

    string

    Yes

    1

    Set up the project

    mkdir transaction-private-mempool
    cd transaction-private-mempool
    npm init -y
    npm install ws ethers dotenv
    mkdir transaction-private-mempool
    cd transaction-private-mempool
    yarn init -y
    yarn ws ethers
    2

    Set the ES module "type": "module" in your package.json.

    3

    Create a file and name it index.js

    4

    Create .env file and add the following:

    5

    Import the dependencies

    6

    Create and Sign Your Transaction

    7

    Submit Privately

    8

    Response

    There are list of builders who should receive the transaction without delay. There are:

    • bloxroute: bloXroute internal builder(default)

    • all: all builders

    • Other options: 48club, blockrazor, jetbldr, nodereal

    Problem
    Solution

    Transaction not included

    Without a priority tip, private transactions compete based on gas fees alone. If your transaction isn't being included:

    • Increase gas price — Higher gas = higher priority for builders

    • Add a priority tip — See

    • Try specific builders — Some builders may be more responsive

    "Invalid transaction"

    • Verify your transaction is properly signed

    • Check the chain ID is 56 (BSC Mainnet)

    • Ensure the nonce is correct

    Connection issues

    • Verify your API key is valid

    • Check network connectivity

    • Try reconnecting after a few seconds

    To increase the priority for inclusion in your private transactions, see Private Transactions with Tips.

    params: {
      transaction: signedTx,
      mev_builders: ['48club', 'bloxroute']  // Specific builders only
    }

    Private TX vs Public Mempool

    When to Use Private Transactions

    Request Sample

    How to Submit Transaction to Private Mempool

    Complete Example: Private BNB Transfer
    Complete Example: MEV-Protected PancakeSwap Trade

    Selecting Specific Builders

    Troubleshooting

    Next Steps

    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”

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

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

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

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

    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).

    Example endpoint URLs:

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


    Dragon’s Mouth uses gRPC over HTTP/2 for all communication. Its message schemas are defined in Protocol Buffer (.proto) files, included in the , 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

    Developers can integrate Yellowstone streams using standard gRPC client libraries. Triton’s Yellowstone repository includes 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.


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


    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:

    Connect to the gRPC endpoint and subscribe to the stream:


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

    Setup & run:

    Make sure the following dependencies are installed:

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

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

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


    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

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


    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 , , or historical queries.


    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.

    Check out the or reach out via .

    '
    \
    -- header 'Authorization: Bearer YOUR_API_KEY',
    --header 'Content-Type: application/json' \
    --data-raw ' { "network": "ETH", "address": "0xa45f...a675"}'
    const data =
    { "network": "ETH", "address": "0xa45f...a675"};
    const config = {
    method: "post",
    url: "https://services.getblock.io/v1/wallet-audit/check",
    headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
    },
    data: data,
    };
    axios(config)
    .then((response) => console.log(JSON.stringify(response.data, null, 2)))
    .catch((error) => console.log(error));

    probabilityFraud

    string

    "0.0191140026"

    Fraud probability score ranging from 0.0 to 1.0.

    walletAddress

    string

    "0xa45f..."

    The audited blockchain wallet address.

    chain

    string

    "ETH"

    The network/blockchain name (e.g., "ETH").

    lastChecked

    string (ISO 8601)

    "2026-04-15T12:02:21Z"

    Timestamp of the most recent fraud analysis.

    checked_times

    number

    169

    Total number of times this address has been checked.

    createdAt

    string (ISO 8601)

    "2023-07-19T10:15:00Z"

    Record creation timestamp.

    updatedAt

    string (ISO 8601)

    "2026-05-08T14:30:22Z"

    Last update timestamp.

    forensic_details

    object

    See sub-fields below

    Contains 18 AML flags. Each is "0" (clean) or "1" (flagged). If any flag is "1", probabilityFraud defaults to 1.0.

    ↳ .cybercrime

    string

    "0"

    Cybercrime activity flag.

    ↳ .money_laundering

    string

    "0"

    Money laundering flag.

    ↳ .number_of_malicious_contracts_created

    string

    "0"

    Creation of malicious smart contracts flag.

    ↳ .gas_abuse

    string

    "0"

    Gas price manipulation behavior flag.

    ↳ .financial_crime

    string

    "0"

    General financial crime flag.

    ↳ .darkweb_transactions

    string

    "0"

    Transactions associated with darkweb marketplaces flag.

    ↳ .reinit

    string

    "0"

    Smart contract reinitialization abuse flag.

    ↳ .phishing_activities

    string

    "0"

    Phishing vector participation flag.

    ↳ .fake_kyc

    string

    "0"

    Use or association with fake KYC data flag.

    ↳ .blacklist_doubt

    string

    "0"

    Association with blacklisted entities flag.

    ↳ .fake_standard_interface

    string

    "0"

    Spoofed/fake token interface usage flag.

    ↳ .stealing_attack

    string

    "0"

    Active theft or exploit activity flag.

    ↳ .blackmail_activities

    string

    "0"

    Blackmail or extortion activities flag.

    ↳ .sanctioned

    string

    "0"

    Presence on known sanctions lists flag.

    ↳ .malicious_mining_activities

    string

    "0"

    Malicious or hijacked mining operations flag.

    ↳ .mixer

    string

    "0"

    Interaction with crypto mixing services (e.g., Tornado Cash) flag.

    ↳ .fake_token

    string

    "0"

    Creation or deployment of fake/honeypot tokens flag.

    ↳ .honeypot_related_address

    string

    "0"

    Association with honeypot contract setups flag.

    sanctionData

    array (object)

    See sub-fields below

    Definitive sanction matches associated with this address.

    ↳ .isSanctioned

    boolean

    false

    true if sanctioned, false if clean.

    ↳ .category

    string (nullable)

    "Terrorism"

    Category of sanction if applicable; otherwise null.

    ↳ .name

    string (nullable)

    "Entity Name"

    Official name of the sanctioned entity/person; otherwise null.

    ↳ .description

    string (nullable)

    "Details here..."

    Contextual details regarding the sanction; otherwise null.

    ↳ .url

    string (nullable)

    "https://..."

    Reference URL providing sanction evidence; otherwise null.

    502

    Provider error

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

  • Click on Get.

  • 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

    Setup:

    Ensure your Cargo.toml includes:

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

    : 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

  • 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.

  • slots

    slots: SlotsFilter

    Slot numbers as they’re processed by leader

    blocks

    blocks: BlocksFilter

    Block metadata (slot, parent slot, timestamp)

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

    Get your gRPC endpoint

    Endpoint & authentication

    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.

    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

    All filters can be combined in the same request.

    1. CLI (using grpcurl)

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

    3. Python, Rust, and Go streaming examples

    Unary RPC methods

    Yellowstone gRPC best practices

    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.

    💬 Need help?

    Access Token
    Yellowstone repository
    example clients
    Yellowstone gRPC docs
    GetBlock support
    Deploying a private Solana node with GetBlock RPC provider
    Configuring a dedicated SOL node on GetBlock
    getBlock
    sendTransaction

    Inclusion speed

    Gas price dependent

    Builder dependent

    Best for

    Speed-competitive scenarios

    Value-sensitive trades

    Signed raw transaction hex

    mev_builders

    array

    No

    Builders to send to. Default: ["all"]

    Private Transactions with Tips
    cd rust-client
    cargo build
    cargo run
    [dependencies]
    yellowstone-grpc = { git = "https://github.com/rpcpool/yellowstone-grpc", branch = "main" }
    tonic = "0.9"
    tokio = { version = "1", features = ["full"] }
    use tonic::metadata::MetadataValue;
    use yellowstone_grpc::client::{subscribe_with_token, SubscribeRequest};
    
    #[tokio::main]
    async fn main() {
       let endpoint = "https://shared.eu-central-1.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);
       }
    }
    // Europe (Frankfurt)
    https://shared.eu-central-1.getblock.io/<YOUR_ACCESS_TOKEN>/
    
    // USA (New York)
    https://shared.us-east-1.getblock.io/<YOUR_ACCESS_TOKEN>/
    
    // Asia (Singapore)
    https://shared.ap-southeast-1.getblock.io/<YOUR_ACCESS_TOKEN>/
    
    ENDPOINT = 'https://shared.eu-central-1.getblock.io';
    TOKEN = 'YOUR_GETBLOCK_ACCESS_TOKEN';
    # 1) List services and methods 
    grpcurl \
      -insecure \
      -authority shared.eu-central-1.getblock.io \
      -H "x-access-token: YOUR_ACCESS_TOKEN" \
      shared.eu-central-1.getblock.io:443 \
      list
    
    # 2) Subscribe to slots
    grpcurl \
      -insecure \
      -authority shared.eu-central-1.getblock.io \
      -H "x-access-token: YOUR_ACCESS_TOKEN" \
      shared.eu-central-1.getblock.io:443 \
      geyser.Geyser/Subscribe \
      -d '{ "slots": { "slots": []{} } }'
    
    npm install @triton-one/yellowstone-grpc
    # or
    yarn add @triton-one/yellowstone-grpc
    import Client, {
     SubscribeRequest,
     CommitmentLevel,
     SubscribeResponse,
    } from "@triton-one/yellowstone-grpc";
    
    
    async function main() {
     // Initialize
     const ENDPOINT = "https://shared.eu-central-1.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);
    
    cd go-client
    go mod tidy
    go run main.go
    go get github.com/rpcpool/yellowstone-grpc/examples/golang@latest
    go get google.golang.org/grpc@latest
    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 := "shared.eu-central-1.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())
       }
    }
    git clone https://github.com/rpcpool/yellowstone-grpc
    export PYTHONPATH=$PYTHONPATH:$(pwd)/yellowstone-grpc/examples/python
    from examples.grpc import new_client
    import time
    from google.protobuf.json_format import MessageToDict
    
    endpoint = "shared.eu-central-1.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)
    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "bsc_private_tx",
      "params": {
        "transaction": "0xf86c...",
        "mev_builders": ["all"]
      }
    }
    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": {
        "txHash": "0x..."
      }
    }
    ACCESS_TOKEN=your-accelerated-node-endpoint
    RPC_URL=your-normal-bsc-node-endppoint //e.g https
    PRIVATE_KEY=your-wallet-private-key
    import WebSocket from 'ws';
    import { ethers } from 'ethers';
    import 'dotenv/config';
    
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL
    const provider = new ethers.JsonRpcProvider(RPC_URL);
    const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
    
    // Get current nonce
    const nonce = await provider.getTransactionCount(wallet.address);
    
    // Build transaction
    const tx = {
      nonce: nonce,
      to: '0xRECIPIENT_ADDRESS',
      value: ethers.parseEther('0.1'),
      gasPrice: ethers.parseUnits('3', 'gwei'),
      gasLimit: 21000,
      chainId: 56
    };
    
    // Sign transaction
    const signedTx = await wallet.signTransaction(tx);
    const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
    
    ws.on('open', () => {
      ws.send(JSON.stringify({
        jsonrpc: '2.0',
        id: 1,
        method: 'bsc_private_tx',
        params: {
          transaction: signedTx,
          mev_builders: ['all']
        }
      }));
    });
    
    ws.on('message', (data) => {
      const response = JSON.parse(data);
      
      if (response.result) {
        console.log('✅ Private TX submitted!');
        console.log('TX Hash:', response.result.txHash);
      } else {
        console.error('❌ Error:', response.error);
      }
      
      ws.close();
    });
    Wallet: 0xD1AF2dAc4e0a....
    Recipient: 0xd26ea.....
    Amount: 0.001 BNB
    Mode: Private (MEV Protected)
    
    Submitting private transaction...
    
    ✅ Private transaction submitted!
    TX Hash: 14223ac9adf33b77e4b52e8612dd351517b1bbc5b771567089994a6183f46df2
    BSCScan: https://bscscan.com/tx/14223ac9adf33b77e4b52e8612dd351517b1bbc5b771567089994a6183f46df2
    import WebSocket from "ws";
    import { ethers } from "ethers";
    import "dotenv/config";
    
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL;
    
    async function sendPrivateTransaction(recipient, amountBNB) {
      const provider = new ethers.JsonRpcProvider(RPC_URL);
      const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
    
      console.log("Wallet:", wallet.address);
      console.log("Recipient:", recipient);
      console.log("Amount:", amountBNB, "BNB");
      console.log("Mode: Private (MEV Protected)");
    
      // Get nonce
      const nonce = await provider.getTransactionCount(wallet.address);
    
      // Build transaction
      const signedTx = await wallet.signTransaction({
        nonce: nonce,
        to: recipient,
        value: ethers.parseEther(amountBNB),
        gasPrice: ethers.parseUnits("3", "gwei"),
        gasLimit: 21000,
        chainId: 56,
      });
    const signedTxNoPrefix = signedTx.startsWith("0x")
      ? signedTx.slice(2)
      : signedTx;
    
    
      // Submit privately
      const ws = new WebSocket(process.env.ACCESS_TOKEN);
    
      return new Promise((resolve, reject) => {
        ws.on("open", () => {
          console.log("\nSubmitting private transaction...");
    
          ws.send(
            JSON.stringify({
              jsonrpc: "2.0",
              id: 1,
              method: "bsc_private_tx",
              params: {
                transaction: signedTxNoPrefix,
                mev_builders: ["all"],
              },
            }),
          );
        });
    
        ws.on("message", (data) => {
          const response = JSON.parse(data);
          ws.close();
    
          if (response.result) {
            console.log("\n✅ Private transaction submitted!");
            console.log("TX Hash:", response.result.txHash);
            console.log(
              "BSCScan:",
              `https://bscscan.com/tx/${response.result.txHash}`,
            );
            resolve(response.result.txHash);
          } else {
            console.error("\n❌ Error:", response.error);
            reject(response.error);
          }
        });
    
        ws.on("error", reject);
      });
    }
    
    // Usage
    sendPrivateTransaction(process.env.TO_ADDRESS, "0.001").catch(console.error);
    
    import  WebSocket from 'ws';
    import { ethers } from 'ethers';
    import 'dotenv/config';
    
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL;
    const PANCAKE_ROUTER = '0x10ED43C718714eb63d5aA57B78B54704E256024E';
    const WBNB = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c';
    
    async function privateSwap(tokenAddress, amountBNB, minAmountOut) {
      const provider = new ethers.JsonRpcProvider(RPC_URL);
      const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
      
      // Router ABI
      const routerABI = [
        'function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable'
      ];
      const router = new ethers.Contract(PANCAKE_ROUTER, routerABI, wallet);
      
      // Build swap calldata
      const deadline = Math.floor(Date.now() / 1000) + 300;
      const swapData = router.interface.encodeFunctionData('swapExactETHForTokens', [
        minAmountOut,
        [WBNB, tokenAddress],
        wallet.address,
        deadline
      ]);
      
      // Get nonce
      const nonce = await provider.getTransactionCount(wallet.address);
      
      // Sign transaction
      const signedTx = await wallet.signTransaction({
        nonce: nonce,
        to: PANCAKE_ROUTER,
        value: ethers.parseEther(amountBNB),
        data: swapData,
        gasPrice: ethers.parseUnits('3', 'gwei'),
        gasLimit: 300000,
        chainId: 56
      });
      
      console.log('Swap details:');
      console.log('  Amount:', amountBNB, 'BNB');
      console.log('  Token:', tokenAddress);
      console.log('  Min out:', ethers.formatEther(minAmountOut));
      console.log('  Mode: Private (MEV Protected)');
      
      // Submit privately
      const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
      
      return new Promise((resolve, reject) => {
        ws.on('open', () => {
          ws.send(JSON.stringify({
            jsonrpc: '2.0',
            id: 1,
            method: 'bsc_private_tx',
            params: {
              transaction: signedTx,
              mev_builders: ['all']
            }
          }));
        });
        
        ws.on('message', (data) => {
          const response = JSON.parse(data);
          ws.close();
          
          if (response.result) {
            console.log('\n✅ Private swap submitted!');
            console.log('TX Hash:', response.result.txHash);
            console.log('BSCScan:', `https://bscscan.com/tx/${response.result.txHash}`);
            resolve(response.result.txHash);
          } else {
            console.error('\n❌ Error:', response.error);
            reject(response.error);
          }
        });
      });
    }
    
    // Usage: Swap 1 BNB for BUSD (MEV protected)
    privateSwap(
      '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56',  // BUSD
      '1.0',                                          // 1 BNB
      ethers.parseEther('200')                        // Min 200 BUSD
    ).catch(console.error);

    How to use Bundle

    This guide explains how to submit transaction bundles on BNB Smart Chain using GetBlock's MEV endpoint.

    A bundle is a group of transactions submitted together with a guarantee that either all transactions execute in sequence or none are included. This atomic execution model supports several advanced use cases:

    • Arbitrage: Execute a buy on one DEX and a sell on another within the same block, ensuring both trades complete, or neither does

    • Liquidations: Check a position's health and liquidate it atomically, preventing front-running

    • Complex strategies: Coordinate multi-step transactions with guaranteed execution order

    Before submitting bundles, ensure you have:

    • A GetBlock API key with MEV endpoint access

    • Node.js v16 or later

    • A funded BSC wallet with sufficient BNB for all transactions and gas

    Connect to the MEV WebSocket endpoint with your API key:

    Parameter
    Type
    Required
    Description
    1

    Set up the project

    2

    Create a new file named index.js. This is where you will make your first call.

    3

    Choose the appropriate method based on your use case:

    1. Use Sequential Nonces

    All transactions in a bundle must have consecutive nonces starting from your wallet's current nonce:

    2. Include a Priority Fee

    Adding a fee payment as the final transaction increases the likelihood of bundle inclusion:

    The blocks_count parameter determines how long your bundle remains valid. Shorter validity periods signal higher urgency to builders:

    Use Case
    Recommended blocks_count

    Test your transaction logic before submitting a bundle by simulating each transaction:

    Problem
    Solution

    How to Subscribe to Stream

    Learn how to direct real-time access to transaction and block streams sourced from the BDN, bypassing RPC node-level execution and processing entirely.

    Stream subscription provides you with direct access to blockchain data as it propagates through the BDN network. This is very good for users e.g traders who want to get data earlier e.g new released token With a stream subscription, you enjoy:

    • Faster blocks: Receive new blocks before standard RPC propagation

    • Mempool access: See pending transactions before they're mined

    Taxonomy

    The GetBlock AML Risk Taxonomy provides a consistent, customer-facing language for describing the risk context of crypto wallets and transactions.

    An AML report does more than return a single score. It explains:

    • the headline risk of the wallet or transaction;

    • the types of activity found in screened exposure;

    Market data

    A Solana Market Data subscription describes three things: the market pair to observe, the type of data to receive, and how that data should be delivered. The base and quote mint addresses identify the pair and its direction. The topic selects the resulting data model, such as individual trades, OHLCV candles, or an aggregated price. Topics such as ohlcv, twap, vwap, and volume also use window to define their calculation period.

    Array of signed raw transactions (hex-encoded)

    mev_builders

    object

    No

    Target builders. Use {"all": ""} for all builders, or specify individual builders

    blocks_count

    integer

    No

    Number of blocks the bundle remains valid. Default: 5, Maximum: 20

    Submit bundles using the mev_sendBundle method:

    {
      "jsonrpc": "
    

    A successful submission returns a bundle hash:

    {
      "jsonrpc": "
    

    Set the ES module "type": "module" in your package.json.

    4

    Create .env file and add the following:

    ACCESS_TOKEN=your-accelerated-node-endpoint
    RPC_URL=your-normal-bsc-node-endppoint //e.g https
    PRIVATE_KEY=your-wallet-private-key
    5

    Add the following code to index.js:

    The following example demonstrates a simple BNB transfer with a priority fee:

    import WebSocket from "ws";
    import { ethers } from "ethers";
    import "dotenv/config";
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL = process.env.RPC_URL;
    async function submitBundle() {
      const provider = new ethers.JsonRpcProvider(RPC_URL);
      const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
      // Get the current nonce for your wallet
      const nonce = await provider.getTransactionCount(wallet.address);
      // Transaction 1: First operation
      const tx1 = await wallet.signTransaction({
        nonce: nonce,
        to: DEX_A,
        value: ethers.parseEther("0.001"),
        data: buyCalldata,
        gasPrice: ethers.parseUnits("3", "gwei"),
        gasLimit: 300000,
        chainId: 56,
      });
      // Transaction 2: Second operation (must use nonce + 1)
      const tx2 = await wallet.signTransaction({
        nonce: nonce + 1,
        to: DEX_B,
        value: 0,
        data: sellCalldata,
        gasPrice: ethers.parseUnits("3", "gwei"),
        gasLimit: 300000,
        chainId: 56,
      });
      // Connect to the MEV endpoint
      const ws = new WebSocket(process.env.ACCESS_TOKEN);
    
      ws.on("open", () => {
        ws.send(
          JSON.stringify({
            jsonrpc: "2.0",
            id: 1,
            method: "mev_sendBundle",
            params: {
              transactions: [tx1.slice(2), tx2.slice(2)],
              mev_builders: { all: "" },
              blocks_count: 5,
            },
          }),
        );
      });
      ws.on("message", (data) => {
        const response = JSON.parse(data);
    
        if (response.result) {
          console.log("Bundle submitted successfully");
          console.log("Bundle Hash:", response.result.bundleHash);
        } else {
          console.error("Submission failed:", response.error);
        }
    
        ws.close();
      });
    }
    submitBundle();
    6

    Run the code using this command:

    node index.js
    7

    Sample response

    Use cases

    Simple transfers, individual swaps

    Arbitrage, multi-step operations

    Adding priority fees

    Via Multicall3

    Separate transaction in bundle

    mev_builders format

    Array: ["all"]

    Object: {"all": ""}

    transactions

    array

    Aspect

    bsc_privateTx

    mev_sendBundle

    Transaction count

    Single

    Multiple

    Atomicity

    Not applicable

    const nonce = await provider.getTransactionCount(wallet.address);
    
    // Transaction 1: nonce
    // Transaction 2: nonce + 1
    // Transaction 3: nonce + 2
    const feeTx = await wallet.signTransaction({
      nonce: lastNonce,
      to: '0x6374Ca2da5646C73Eb444aB99780495d61035f9b',
      value: ethers.parseEther('0.001'),
      gasPrice: ethers.parseUnits('3', 'gwei'),
      gasLimit: 21000,
      chainId: 56
    });

    Time-sensitive arbitrage

    2–3

    Standard bundles

    5

    Less urgent operations

    10–20

    await provider.call({
      to: tx1.to,
      data: tx1.data,
      value: tx1.value
    });

    Bundle Not Included

    If your bundle is not included after the specified block count:

    • Increase the priority fee — Add a higher fee payment transaction

    • Verify nonce sequence — Nonces must be strictly consecutive with no gaps

    • Reduce blocks_count — Shorter validity signals higher priority to builders

    • Validate each transaction — Ensure every transaction in the bundle is valid independently

    "Invalid bundle" Error

    This error indicates a formatting or validation issue:

    • Check parameter format — The transactions parameter must be an array; mev_builders must be an object

    • Verify signatures — All transactions must be properly signed

    • Confirm chain ID — Use chain ID 56 for BSC Mainnet

    Partial Execution

    Bundles execute atomically, so partial execution should not occur. If you observe partial execution:

    • Contact support — This indicates a potential builder issue

    • Verify using the bundle hash — Check the bundle status on a block explorer

    Prerequisites

    Sample Request

    Example

    Example: DEX Arbitrage

    This example demonstrates a complete arbitrage strategy: buying a token on PancakeSwap V2 and selling on PancakeSwap V3 within the same block, with an optional priority fee.

    Reference Addresses

    Address
    Purpose

    0x10ED43C718714eb63d5aA57B78B54704E256024E

    PancakeSwap V2 Router

    Comparing Bundles and Private Transactions

    Best Practices

    Choose an Appropriate blocks_count Value

    Simulate Before Submitting

    Troubleshooting

    wss://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>
    mkdir bundle-example
    cd bundle-example
    npm init -y
    npm install ws ethers dotenv
    mkdir bundle-example
    cd bundle-example
    yarn init -y
    yarn ws ethers dotenv

    Yes

    All-or-nothing execution

    Lower latency: Edge infrastructure minimizes network hops

    Here, you will be checking if you are connected to streams

    wss://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>
    index.js
    //npm install ws dotenv
    import WebSocket
    
    > bsc-node@1.0.0 start
    > node index.js
    
    Connected

    To subscribe to streams, there are four parameters you can make use of as seen below:

    Stream
    Description
    Use Case

    bdnBlocks

    New blocks with headers and transactions

    Block monitoring, analytics

    newTxs

    New transactions entering mempool

    MEV detection, copy trading

    Subscribe to new blocks as they're produced.

    Include Options

    Field
    Description

    header

    Block header (number, hash, timestamp, gasUsed, gasLimit)

    transactions

    Full transaction list

    hash

    Block hash only

    Example: Subscribe to Blocks

    subscribe-blocks.js
    import WebSocket from "ws";
    import "dotenv/config";
    
    const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
    
    ws.on("open", () => {
      console.log("Connected");
    
      // Subscribe to new blocks
      ws.send(
        JSON.stringify({
          jsonrpc: "2.0",
          id: 1,
          method: "subscribe",
          params: ["bdnBlocks", { include: ["header", "transactions", "hash"] }],
        }),
      );
    });
    
    ws.on("message", (data) => {
      const message = JSON.parse(data);
    
      // Subscription confirmation
      if (message.id === 1 && message.result) {
        console.log("Subscribed! ID:", parseInt(message.result));
        return;
      }
    
      // Block notification
      if (message.params?.result) {
        const block = message.params.result;
        console.log("New block:", {
          number: parseInt(block.header.number, 16),
          hash: block.header.hash,
          txCount: block.transactions?.length || 0,
        });
      }
    });
    
    Connected
    Subscribed! ID: 9
    New block: { number: 84411561, hash: undefined, txCount: 86 }
    New block: { number: 84411562, hash: undefined, txCount: 105 }
    New block: { number: 84411563, hash: undefined, txCount: 66 }
    New block: { number: 84411564, hash: undefined, txCount: 66 }
    New block: { number: 84411565, hash: undefined, txCount: 78 }
    New block: { number: 84411566, hash: undefined, txCount: 93 }
    New block: { number: 84411567, hash: undefined, txCount: 63 }

    Subscribe to mempool transactions as they propagate through the network.

    Include Options

    Field
    Description

    tx_hash

    Transaction hash

    from

    Sender address

    to

    Recipient address

    Filters

    Reduce bandwidth by filtering server-side:

    Filter
    Type
    Description

    to

    array

    Transaction recipient addresses

    from

    array

    Transaction sender addresses

    Example: Monitor PancakeSwap Transactions

    monitor-pancakeswap.js
    import WebSocket from "ws";
    import { ethers } from "ethers";
    import "dotenv/config";
    
    const PANCAKE_ROUTER = "0x10ED43C718714eb63d5aA57B78B54704E256024E";
    
    const SWAP_METHODS = {
      "0x38ed1739": "swapExactTokensForTokens",
      "0x7ff36ab5": "swapExactETHForTokens",
      "0x18cbafe5": "swapExactTokensForETH",
      "0xfb3bdb41": "swapETHForExactTokens",
      "0x5c11d795": "swapExactTokensForTokensSupportingFeeOnTransferTokens",
      "0xb6f9de95": "swapExactETHForTokensSupportingFeeOnTransferTokens",
    };
    
    function monitorPancakeSwap() {
      const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
    
      ws.on("open", () => {
        console.log("🔌 Connected to BSC stream");
        console.log("📊 Monitoring PancakeSwap...\n");
    
        ws.send(
          JSON.stringify({
            jsonrpc: "2.0",
            id: 1,
            method: "subscribe",
            params: [
              "pendingTxs",
              {
                include: ["tx_hash", "from", "to", "value", "input", "gas_price"],
                filters: {
                  to: [PANCAKE_ROUTER],
                },
              },
            ],
          }),
        );
      });
    
      ws.on("message", (data) => {
        const msg = JSON.parse(data);
    
        // Subscription confirmed
        if (msg.id === 1) {
          console.log("✅ Subscribed to PancakeSwap transactions\n");
          return;
        }
    
        // New transaction
        if (msg.params?.result) {
          const tx = msg.params.result;
          const methodId = tx.input?.slice(0, 10);
          const methodName = SWAP_METHODS[methodId] || "unknown";
    
          if (SWAP_METHODS[methodId]) {
            const value = ethers.formatEther(tx.value || "0");
            const gasPrice = ethers.formatUnits(tx.gas_price || "0", "gwei");
    
            console.log("🔄 Swap detected:");
            console.log(`   Hash: ${tx.tx_hash.slice(0, 18)}...`);
            console.log(`   Method: ${methodName}`);
            console.log(`   From: ${tx.from.slice(0, 10)}...`);
            console.log(`   Value: ${value} BNB`);
            console.log(`   Gas: ${gasPrice} gwei`);
            console.log("");
          }
        }
      });
    
      ws.on("close", () => {
        console.log("Disconnected, reconnecting in 5s...");
        setTimeout(monitorPancakeSwap, 5000);
      });
    
      ws.on("error", (err) => {
        console.error("WebSocket error:", err.message);
      });
    }
    
    monitorPancakeSwap();
    
    {
      "tx_hash": "0xdef456...",
      "from": "0xabc...",
      "to": "0x10ED43C718714eb63d5aA57B78B54704E256024E",
      "value": "0x16345785d8a0000",
      "gas_price": "0xb2d05e00",
      "input": "0x38ed1739..."
    }
    import WebSocket from 'ws';
    import 'dotenv/config';
    
    const PANCAKE_ROUTER = '0x10ED43C718714eb63d5aA57B78B54704E256024E';
    
    const SWAP_METHODS = {
      '0x38ed1739': 'swapExactTokensForTokens',
      '0x7ff36ab5': 'swapExactETHForTokens',
      '0x18cbafe5': 'swapExactTokensForETH',
      '0xfb3bdb41': 'swapETHForExactTokens',
    };
    
    function monitorNewTxs() {
      const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
    
      ws.on('open', () => {
        console.log('Connected to BSC stream');
        console.log('Monitoring confirmed PancakeSwap swaps...\n');
    
        ws.send(JSON.stringify({
          jsonrpc: '2.0',
          id: 1,
          method: 'subscribe',
          params: ['newTxs', {
            include: ['tx_hash', 'from', 'to', 'value', 'input'],
            filters: {
              to: [PANCAKE_ROUTER],
              method_id: Object.keys(SWAP_METHODS)
            }
          }]
        }));
      });
    
      ws.on('message', (data) => {
        const msg = JSON.parse(data);
    
        if (msg.id === 1) {
          console.log('Subscribed to confirmed PancakeSwap transactions\n');
          return;
        }
    
        if (msg.params?.result) {
          const tx = msg.params.result;
          const methodId = tx.input?.slice(0, 10);
          const methodName = SWAP_METHODS[methodId] || 'unknown';
    
          console.log('Confirmed swap:');
          console.log(`  Hash:   ${tx.tx_hash}`);
          console.log(`  Method: ${methodName}`);
          console.log(`  From:   ${tx.from}`);
          console.log(`  To:     ${tx.to}`);
          console.log(`  Value:  ${tx.value}`);
          console.log('');
        }
      });
    
      ws.on('close', () => {
        console.log('Disconnected, reconnecting in 5s...');
        setTimeout(monitorNewTxs, 5000);
      });
    
      ws.on('error', (err) => {
        console.error('WebSocket error:', err.message);
      });
    }
    
    monitorNewTxs();
    
    {
        "jsonrpc":"2.0",
        "id":1,
        "result":"0x11"
    }

    Subscribe to transaction confirmations.

    Include Options

    Field
    Description

    receipt

    Full transaction receipt

    logs

    Event logs emitted

    Example:

    import WebSocket from 'ws';
    import 'dotenv/config';
    
    const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
    
    ws.on("open", () => {
      console.log("Connected");
    
      // Subscribe to new blocks
      ws.send(JSON.stringify({
        jsonrpc: '2.0',
        id: 1,
        method: 'subscribe',
        params: ['txReceipts', {
          include: ['receipt', 'logs']
        }]
      }));
    });
    
    ws.on("message", (data) => {
      const message = JSON.parse(data);
      console.log(message)})
    { 
      jsonrpc: '2.0', 
      id: 1, 
      result: '0x10' 
    }

    To stop receiving notifications, unsubscribe using the subscription ID:

    unsubscribe.js
    import WebSocket from "ws";
    import "dotenv/config";
    const ws = new WebSocket(`wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`);
    ws.on("open", () => {
      console.log("Connected");
    
    ws.send(
      JSON.stringify({
        jsonrpc: "2.0",
        id: 10,
        method: "unsubscribe",
        params: ["23"], // Subscription ID
      }),
    );})
    
    ws.on("message", (data) => {
      const message = JSON.parse(data);
      console.log(JSON.stringify(message, null, 2));
    });
    { 
        jsonrpc: '2.0', 
        id: 10, 
        result: true 
    }

    1. Request Only What You Need

    // ❌ Bad: Request everything
    include: ['tx_contents']  // Large payloads, high bandwidth
    // ✅ Good: Request specific fields
    include: ['tx_hash', 'from', 'to', 'value']  // Small payloads
    1. Use Server-Side Filters

    // ❌ Bad: Filter client-side
    params: ['newTxs', { include: ['tx_contents'] }]
    // Then filter in your code... wasteful!
    // ✅ Good: Filter server-side
    params: ['newTxs', {
      include: ['tx_hash', 'to', 'input'],
      filters: { to: ['0xTargetContract'] }
    }]
    1. Handle Reconnection

    1. Process Messages Asynchronously

    Tier
    Concurrent Subscriptions
    Message Rate

    Standard

    5

    1,000/sec

    Pro

    20

    10,000/sec

    Contact support to upgrade your tier.

    Problem
    Solution

    No messages received

    • Check subscription response—did you receive a subscription ID?

    • Verify filters aren't too restrictive

    • Confirm your API key is valid and active

    High latency

    • Reduce the number of include fields

    • Add filters to reduce message volume

    • Check your network connection

    Missed messages

    • Process messages asynchronously

    • Increase your message queue buffer

    • Consider multiple connections for different streams

    1. Submitting transactions to public mempool with accelerated propagation

    2. Using private transactions for MEV protection or without MEV Protection

    function createConnection() {
      const ws = new WebSocket(`wss://bsc.getblock.io/mev/ws?api_key=${API_KEY}`);
      
      ws.on('close', () => {
        console.log('Disconnected, reconnecting...');
        setTimeout(createConnection, 5000);
      });
      
      ws.on('open', () => {
        // Re-subscribe after reconnect
        subscribeToFeeds(ws);
      });
      
      return ws;
    }
    ws.on('message', async (data) => {
      // Don't block the message loop
      setImmediate(() => {
        processMessage(JSON.parse(data));
      });
    });

    Code Sample

    How to Subscribe to Streams

    1. Block Streams (bdnBlocks)

    2. Transaction Streams (newTxs / pendingTxs)

    3. Transaction Receipts (txReceipts)

    Unsubscribing

    Best Practices

    Rate Limits

    Troubleshooting

    Next Step

    compliance-related context that may require review;

  • the types of counterparties or services involved;

  • the share associated with each exposure category;

  • direct interactions with flagged counterparties;

  • ownership and cluster attribution, when available;

  • asset-specific restrictions;

  • exposure or flags that could not be assigned to a named public category.

  • The current customer-facing response schema is identified by:

    Activity exposure describes potentially harmful, illicit, abusive, or high-risk activity associated with a wallet, transaction, cluster, or counterparty.

    API value: hacking Interface presentation: Very high

    Activity associated with unauthorized access to systems, wallets, smart contracts, protocols, or digital infrastructure.

    This may indicate exploitation, unauthorized fund movement, or infrastructure compromise.

    Recommended review: Examine transaction timing, counterparties, known incidents, and whether the assets may originate from an exploit.

    API value: userAccountCompromise Interface presentation: Very high

    Activity associated with compromised accounts, private keys, devices, credentials, or user access.

    This can include phishing-related compromise, malicious software, credential theft, or unauthorized access to a user-controlled wallet.

    Recommended review: Confirm wallet ownership and investigate unusual access or transfer patterns.

    API value: extortionActivity Interface presentation: Very high

    Activity associated with coercive payment demands, threats, ransom demands, blackmail, or other forms of financial extortion.

    Recommended review: Escalate for enhanced due diligence and preserve relevant screening and transaction evidence.

    API value: fraudulentSchemes Interface presentation: Very high

    Activity associated with deceptive investment programs, fraudulent services, scams, impersonation, Ponzi-like schemes, or other attempts to obtain funds through misrepresentation.

    Recommended review: Verify the counterparty’s identity, business model, transaction purpose, and available fraud reports.

    API value: stolenAssets Interface presentation: Very high

    Assets or activity associated with theft, unauthorized transfer, misappropriation, or movement of funds identified as stolen.

    Recommended review: Review transaction path, timing, value, proximity, and available incident information.

    API value: darknetActivity Interface presentation: Very high

    Activity associated with darknet markets, hidden services, or infrastructure used to facilitate illicit commerce.

    Recommended review: Assess the directness of exposure, transaction history, amounts, and applicable prohibited-use policies.

    API value: drugTrafficking Interface presentation: Very high

    Activity associated with the illegal production, sale, distribution, financing, or movement of proceeds related to controlled drugs or narcotic substances.

    Recommended review: Escalate under the organization’s financial-crime procedures.

    API value: weaponsTrafficking Interface presentation: Very high

    Activity associated with the illegal sale, distribution, financing, transfer, or acquisition of weapons.

    Recommended review: Treat as a high-priority financial-crime signal.

    API value: childAbuse Interface presentation: Very high

    Activity associated with the financing, distribution, or commercial infrastructure of child abuse or exploitation.

    Recommended review: Treat as a critical signal and follow applicable escalation and reporting requirements.

    API value: humanExploitation Interface presentation: Very high

    Activity associated with human trafficking, forced labour, sexual exploitation, or other forms of organized human abuse.

    Recommended review: Escalate for immediate enhanced review.

    API value: terrorismFinancing Interface presentation: Very high

    Activity potentially associated with raising, moving, storing, or using funds to support terrorist individuals, organizations, or operations.

    Recommended review: Treat as a critical compliance signal and verify applicable legal obligations.

    API value: extremistActivity Interface presentation: High

    Activity associated with extremist individuals, organizations, fundraising, propaganda infrastructure, or related financial networks.

    Recommended review: Examine the nature and directness of the association.

    API value: weaponsProliferationFinancing Interface presentation: Very high

    Activity potentially associated with financing the development, acquisition, transfer, or proliferation of prohibited weapons programs or related materials.

    Recommended review: Treat as a critical signal requiring specialist compliance review.

    API value: transactionObfuscation Interface presentation: High

    Activity involving services or techniques intended to make the origin, destination, ownership, or movement of assets more difficult to determine.

    This may include mixing or other privacy-enhancing transaction patterns.

    Recommended review: Examine transaction paths, timing, counterparties, and the business reason for the activity.

    API value: gambling Interface presentation: High

    Exposure to betting, wagering, gaming, or gambling-related services.

    The regulatory significance depends on licensing, jurisdiction, transaction purpose, and the customer’s profile.

    API value: illegalActivity Interface presentation: Very high

    Activity classified as illegal that is not represented more precisely by another named activity category.

    Recommended review: Treat as a material signal and examine the complete report and transaction history.

    Compliance exposure describes sanctions, jurisdictional, regulatory, legal, and due-diligence context.

    API value: sanctionsExposure Interface presentation: Very high

    Potential exposure to a person, entity, organization, address, or activity associated with sanctions-related measures.

    When publicly identified, the response can divide the exposure by authority:

    Authority
    API value

    United Kingdom

    UK

    European Union

    EU

    United Nations

    UN

    Example:

    Recommended review:

    1. Verify the relevant person or entity.

    2. Check the applicable sanctions lists.

    3. Review whether the exposure is direct or indirect.

    4. Consider transaction timing and ownership information.

    5. Escalate according to your sanctions policy.

    API value: jurisdictionalRiskContext

    Exposure associated with a jurisdiction requiring additional sanctions, AML, or counter-terrorist-financing scrutiny.

    This category can contain the following public details:

    Detail
    API value
    Interface presentation
    Meaning

    Sanctions-restricted jurisdiction

    sanctionsRestrictedJurisdiction

    Very high

    The jurisdiction is associated with sanctions-related restrictions.

    FATF call-for-action jurisdiction

    Example:

    The detail shares use the same exposure basis as the parent category and normally reconcile to its share.

    API value: limitedComplianceControls Interface presentation: High

    Exposure to a service or counterparty whose compliance controls appear limited, insufficiently transparent, or below the level expected for the relevant activity.

    This can indicate additional due-diligence risk involving customer verification, transaction monitoring, sanctions screening, licensing, or operational accountability.

    Recommended review: Verify the service, licensing status, jurisdiction, ownership, and compliance practices.

    API value: regulatoryAttention

    Activity associated with regulatory, legal, judicial, enforcement, or public-office-related attention.

    Recommended review: Determine the nature, status, relevance, directness, and recency of the regulatory or legal event.

    Counterparty exposure describes the type of service, organization, protocol, or institution associated with screened exposure.

    API value: centralizedExchange Interface presentation: Low/informational

    A custodial trading platform or exchange that facilitates the purchase, sale, conversion, or transfer of digital assets.

    This category identifies the counterparty type. It is not an endorsement of the exchange.

    API value: offExchangeTrading Interface presentation: Low/informational

    Trading activity outside a centralized exchange order book, including over-the-counter and peer-to-peer trading models.

    Recommended review: Consider counterparty identity, settlement arrangements, transaction purpose, and relationship transparency.

    API value: decentralizedExchange Interface presentation: Medium

    An on-chain or non-custodial service that enables digital-asset exchange through smart contracts or liquidity mechanisms.

    The category describes a service type. It does not mean that every transaction passing through the service is illicit.

    API value: lendingService Interface presentation: Low/informational

    A service or protocol providing digital-asset lending, borrowing, credit, collateralization, or related financing.

    API value: stakingService Interface presentation: Low/informational

    A service or protocol used to stake digital assets, delegate network participation, or earn staking-related rewards.

    API value: walletService Interface presentation: Low/informational

    A service providing wallet infrastructure, wallet management, transaction execution, or address management.

    This can include hosted, operational, hot-wallet, or cold-wallet infrastructure.

    API value: custodyService Interface presentation: Low/informational

    A service that safeguards, administers, or controls digital assets on behalf of customers or organizations.

    API value: digitalAssetPayments Interface presentation: Low/informational

    A service facilitating crypto payments, merchant settlement, payment processing, remittances, or value conversion.

    API value: digitalMarketplace Interface presentation: Low/informational

    A marketplace where users buy, sell, or exchange goods, services, or digital items using digital assets.

    API value: investmentFunding Interface presentation: Medium

    Activity associated with investment vehicles, funds, crowdfunding, capital formation, or other fundraising structures.

    API value: charitableActivity Interface presentation: Medium

    Activity associated with donations, nonprofit organizations, charitable fundraising, or humanitarian activity.

    The category should be assessed together with beneficiary, jurisdiction, sanctions, and transaction-purpose information.

    API value: miningActivity Interface presentation: Low/informational

    Activity associated with cryptocurrency mining, mining pools, hosted mining, or cloud-mining services.

    API value: blockchainEntertainment Interface presentation: Medium

    Activity associated with blockchain-based games, entertainment platforms, digital collectibles, or related ecosystems.

    API value: tokenFaucet Interface presentation: Low/informational

    A service that distributes small amounts of tokens, commonly for testing, onboarding, participation, or promotional purposes.

    API value: smartContract Interface presentation: Low/informational

    An address identified as executable on-chain code rather than a conventional user-controlled wallet.

    A smart-contract classification is contextual and does not itself indicate risk.

    API value: technologyInfrastructure Interface presentation: Medium

    Infrastructure supporting blockchain or digital-asset services, such as hosting, nodes, routing, development tools, or operational technology.

    API value: governanceEntity Interface presentation: Low/informational

    A government, political organization, public authority, or entity involved in governance or public administration.

    This describes institutional context and does not itself indicate misconduct.

    API value: civicInstitution Interface presentation: Low/informational

    An educational, media, or other public-interest institution.

    API value: adultContentService Interface presentation: High

    A service providing adult-oriented content or related commercial activity.

    The compliance significance depends on legality, jurisdiction, age controls, payment restrictions, and organizational policy.

    A wallet report contains:

    Field
    Meaning

    schemaVersion

    Version of the customer-facing JSON structure.

    overallRiskScore

    Headline wallet risk score.

    breakdown.exposure

    Screened wallet exposure composition and its component score.

    {
      "schemaVersion": "1.0"
    }
    {
      "category": "sanctionsExposure",
      "share": 11.5,
      "authorities": [
        {
          "authority": "UK",
          "share": 2.5
        },
        {
          "authority": "EU",
          "share": 3.5
        },
        {
          "authority": "UN",
          "share": 1.5
        }
      ],
    }
    {
      "category": "jurisdictionalRiskContext",
      "share": 8,
      "details": [
        {
          "category": "sanctionsRestrictedJurisdiction",
          "share": 3
        },
        {
          "category": "fatfCallForActionJurisdiction",
          "share": 5
        }
      ]
    }
    {
      "schemaVersion": "1.0",
      "overallRiskScore": 100,
      "breakdown": {
        "exposure": {
          "score": 82.4
        },
        "externalReports": {
          "score": 75
        },
        "fatf": {
          "score": 100
        },
        "tokenFlags": {
          "score": 100
        }
      },
      "attribution": {
        "cluster": {
          "score": 100
        }
      },
      "reportId": "fa78dfdc-e69d-4bf6-a092-f824bbb24721"
    }
    {
      "data": {
        "schemaVersion": "1.0",
        "overallRiskScore": 100,
        "breakdown": {
          "exposure": {
            "score": 82.4,
            "activityExposure": [
              {
                "category": "hacking",
                "share": 12.3
              },
              {
                "category": "userAccountCompromise",
                "share": 22.5
              },
              {
                "category": "stolenAssets",
                "share": 8.2
              }
            ],
            "complianceExposure": [
              {
                "category": "sanctionsExposure",
                "share": 11.5,
                "authorities": [
                  {
                    "authority": "UK",
                    "share": 2.5
                  },
                  {
                    "authority": "EU",
                    "share": 3.5
                  },
                  {
                    "authority": "UN",
                    "share": 1.5
                  }
                ],
                "authorityNotProvidedShare": 4
              },
              {
                "category": "jurisdictionalRiskContext",
                "share": 8,
                "details": [
                  {
                    "category": "sanctionsRestrictedJurisdiction",
                    "share": 3
                  },
                  {
                    "category": "fatfCallForActionJurisdiction",
                    "share": 5
                  }
                ]
              },
              {
                "category": "otherComplianceRisk",
                "share": 1.3
              }
            ],
            "counterpartyExposure": [
              {
                "category": "decentralizedExchange",
                "share": 19.2
              },
              {
                "category": "centralizedExchange",
                "share": 7.2
              }
            ],
        
          },
          "externalReports": {
            "score": 75,
            "activityExposure": [
              {
                "category": "fraudulentSchemes",
                "share": 100
              }
            ]
          },
          "fatf": {
            "score": 100,
            "flags": [
              {
                "flow": "in",
                "category": "sanctionsExposure",
                "count": 5,
                "authorities": ["UN"]
              },
              {
                "flow": "out",
                "category": "hacking",
                "count": 17
              }
            ]
          },
          "tokenFlags": {
            "score": 100,
            "flags": [
              {
                "category": "assetRestriction",
                "count": 1,
                "asset": "usdt"
              }
            ]
          }
        },
        "attribution": {
          "owners": ["Known service operator"],
          "cluster": {
            "names": ["Exploit-related cluster"],
            "score": 100,
            "activityExposure": [
              {
                "category": "hacking",
                "share": 100
              }
            ]
          },
          "assetRestrictions": [
            {
              "asset": "usdt"
            }
          ]
        },
        "reportId": "fa78dfdc-e69d-4bf6-a092-f824bbb24721"
      }
    }

    A category describes the nature or context of an AML signal. It is not, by itself, a legal conclusion, proof of wrongdoing, or an instruction to reject a customer or transaction.

    Activity exposure

    Hacking

    User or device compromise

    Extortion activity

    Fraudulent schemes

    Stolen assets

    Darknet activity

    Drug trafficking

    Weapons trafficking

    Child abuse

    Human exploitation

    Terrorism financing

    Extremist activity

    Weapons proliferation financing

    Transaction obfuscation

    Privacy-enhancing activity is not automatically illegal. Its significance depends on transaction purpose, jurisdiction, counterparties, and the customer’s risk profile.

    Gambling

    Illegal activity

    Compliance exposure

    Sanctions exposure

    Sanctions exposure is a screening signal, not a final legal determination. Confirm possible matches against the lists and legal requirements applicable to your organization.

    Jurisdictional risk context

    Jurisdictional risk context does not mean that the person, wallet, or transaction is individually sanctioned. A jurisdictional association and an individual sanctions designation are different signals.

    Limited compliance controls

    Regulatory attention

    Regulatory attention does not necessarily establish wrongdoing. It identifies context that may require additional verification or enhanced due diligence.

    Counterparty exposure

    A counterparty category is descriptive. It does not automatically mean that the entity is safe, risky, regulated, unregulated, approved, or prohibited.

    Centralized exchange

    Off-exchange trading

    Decentralized exchange

    Lending service

    Staking service

    Wallet service

    Custody service

    Digital asset payments

    Digital marketplace

    Investment funding

    Investment-related activity is not inherently illicit. Review its structure, counterparties, jurisdiction, and purpose.

    Charitable activity

    Mining activity

    Blockchain entertainment

    Token faucet

    Smart contract

    Technology infrastructure

    Governance entity

    Civic institution

    Adult content service

    Wallet response structure

    Wallet fields

    The fatf component is an analytical response component. Its public categories are GetBlock categories. A FATF-specific term is used only where the response explicitly returns fatfCallForActionJurisdiction.

    Representative wallet response

    After accepting a subscription, the service can first send recent rows requested through hydrate and then continue streaming live changes. The throttle option controls the minimum interval between those updates. It does not change the aggregation window or require the client to wait until that window closes.

    The example below subscribes to one-minute OHLCV data for the SOL/USDC pair. It requests up to ten initial rows and asks the service to push subsequent changes no more frequently than once per second. Replace the mint addresses, topic, and window to match the market data required by your application.

    Subscribe with getblock_subscribe and pass one structured request object:

    Field
    Type
    Required
    Description

    base

    string

    No

    Base58-encoded mint address of the base token.

    quote

    Accepted market windows are:

    limit, from, and to are query-only parameters and are not supported by the streaming API.

    Solana produces an ordered sequence of slots, but recently observed data can still change before the network reaches finality. Waiting for finalization before publishing every market event would add latency and could make the feed less useful for trading, monitoring, and automated execution.

    Market Data therefore uses an optimistic streaming model. Rows are delivered as soon as they are available and can be corrected later through the same subscription. This gives latency-sensitive clients immediate access to new market activity while preserving a deterministic way to reconcile their local state.

    The window parameter defines the aggregation period, not how long a client must wait for the first result. For example, a subscription with "window": "10s" can receive a row before the ten-second window closes. As more trades enter that window, the service sends the latest version of the row in updates. The throttle parameter controls the minimum interval between pushes and can be used to reduce the update frequency.

    If a chain reorganization changes the transactions included in recent slots, affected rows can be corrected in two ways:

    • updates contains the replacement value for an existing row;

    • deletes contains a previously emitted row that is no longer valid on the currently observed canonical branch.

    Applications that require finalized-only data can apply their own confirmation policy before treating optimistic rows as irreversible. Applications that prioritize minimum latency can act immediately, provided they also process later updates and deletes.

    Change set
    Description

    inserts

    New rows, including the initial snapshot requested with hydrate.

    updates

    Full replacement rows for previously emitted IDs whose values changed, including active aggregation windows.

    deletes

    Previously emitted rows that must be removed from the client's local state by id.

    A change-set property can be omitted when a notification contains no changes of that type. Clients should process all three categories and ignore unknown row fields for forward compatibility. Do not treat an insert as final merely because it was delivered first.

    The Solana gateway preserves market row objects without renaming their fields. Most numeric and timestamp values are serialized as strings so clients do not lose precision. Boolean fields remain JSON booleans, and id can be a JSON number.

    The trades topic streams normalized individual trades for the selected pair. Use it when an application needs transaction-level activity or must calculate its own prices, indicators, and aggregations.

    Field
    Description

    id

    Row identifier.

    signature

    Solana transaction signature.

    signer

    Wallet that signed the transaction.

    The block topic aggregates observed trading activity for the selected pair within one Solana slot. It provides a compact view of short-term activity without requiring clients to process every trade.

    Field
    Description

    id

    Row identifier.

    slot

    Solana slot covered by the aggregate.

    timestamp

    Timestamp of the latest activity included in the aggregate.

    The ohlcv topic provides ready-to-use candles for charts, token pages, dashboards, alerts, and other time-based market visualizations.

    Field
    Description

    id

    Candle identifier.

    base

    Mint address of the base token.

    quote

    Mint address of the quote token.

    The twap topic provides the time-weighted average price over the selected window. It gives equal weight to each period of time and is useful for smoother price monitoring and time-based execution benchmarks.

    Field
    Description

    id

    Row identifier.

    base

    Mint address of the base token.

    quote

    Mint address of the quote token.

    The vwap topic provides the volume-weighted average price over the selected window. Trades with more volume have more influence on the result, making VWAP useful for execution benchmarks and liquidity-aware market monitoring.

    Field
    Description

    id

    Row identifier.

    base

    Mint address of the base token.

    quote

    Mint address of the quote token.

    The volume topic summarizes trading activity for the selected pair and window. Use it to monitor market participation, detect changes in activity, or build volume-based indicators.

    Field
    Description

    id

    Row identifier.

    base

    Mint address of the base token.

    quote

    Mint address of the quote token.

    Buy/sell pressure is not a separate public topic in the current API. Derive it from buy_volume and sell_volume returned by volume, or use the equivalent fields from block for slot-level analysis. For example:

    Applications must handle a zero total volume before calculating the ratio.

    The token topic streams metadata for a token selected with the mint parameter. It does not use base, quote, or window.

    Field
    Description

    id

    Row identifier.

    mint

    Token mint address.

    name

    Token name.

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getblock_subscribe",
      "params": [
        {
          "source": "market",
          "topic": "ohlcv",
          "params": {
            "base": "So11111111111111111111111111111111111111112",
            "quote": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
            "window": "1m",
            "hydrate": 10,
            "throttle": "1s"
          }
        }
      ]
    }
    1s, 10s, 30s, 1m, 5m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 24h
    pressure = (buy_volume - sell_volume) / (buy_volume + sell_volume)

    Subscribe Request

    Market parameters

    Optimistic delivery and reconciliation

    Every changed row carries its stable id. Clients should maintain their local view by upserting rows from inserts and updates, then removing rows from deletes by id. A delete carries the row object, not only its identifier, so clients may also inspect or audit the removed value.

    Trades

    Response fields

    Block

    Response fields

    OHLCV

    Response fields

    TWAP

    Response fields

    VWAP

    Response fields

    Volume

    Response fields

    Buy and sell pressure

    Token

    Response fields

    from
    "
    ws
    "
    ;
    import "dotenv/config";
    const ws = new WebSocket(
    `wss://shared.eu-central-1.getblock.io/${process.env.ACCESS_TOKEN}`,
    );
    ws.on("open", () => {
    console.log("Connected to BSC streams");
    });
    ws.on("error", (err) => {
    console.error("WebSocket error:", err.message);
    });
    to
    BSC
    streams

    pendingTxs

    Pending transactions

    Front-running protection

    txReceipts

    Transaction receipts after confirmation

    Trade confirmation

    value

    Transaction value (hex)

    gas_price

    Gas price (hex)

    input

    Transaction calldata

    method_id

    array

    Function selectors (first 4 bytes of calldata)

    Enterprise

    Unlimited

    Unlimited

    Connection Drop

    • Implement automatic reconnection (see example above)

    • Re-subscribe after each reconnect—subscriptions don't persist

    • Check your network stability

    fatfCallForActionJurisdiction

    High

    The jurisdiction is identified as high risk and subject to a FATF call for action.

    breakdown.externalReports

    Confirmed external-report signals and their component score.

    breakdown.fatf

    Reviewed flagged-counterparty classifications and their component score.

    breakdown.tokenFlags

    Asset-specific flagged interactions and their component score.

    attribution.owners

    Known owner names, when available.

    attribution.cluster

    Cluster names, score, and optional exposure composition.

    attribution.assetRestrictions

    Reviewed asset restrictions.

    reportId

    Identifier for the screening report, when available.

    2.0
    "
    ,
    "id": 1,
    "method": "mev_sendBundle",
    "params": {
    "transactions": ["0xf86c...", "0xf86c..."],
    "mev_builders": { "all": "" },
    "blocks_count": 5
    }
    }
    2.0
    "
    ,
    "id": 1,
    "result": {
    "bundleHash": "0x..."
    }
    }

    0x13f4EA83D0bd40E75C8222255bc855a974568Dd4

    PancakeSwap V3 Router

    0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c

    WBNB

    0x6374Ca2da5646C73Eb444aB99780495d61035f9b

    Priority fee recipient

    Code Example

    string

    No

    Base58-encoded mint address of the quote token.

    mint

    string

    No

    Base58-encoded token mint used only by the token topic.

    window

    string

    Yes for windowed topics

    Aggregation period.

    hydrate

    integer

    No

    Number of initial rows requested when the subscription starts, from 1 through 100.

    slot

    Solana slot in which the trade was observed.

    timestamp

    Trade timestamp in ISO 8601 format.

    base

    Mint address of the base token.

    quote

    Mint address of the quote token.

    base_amount

    Base-token amount in the token's smallest units.

    quote_amount

    Quote-token amount in the token's smallest units.

    base_decimals

    Decimal precision of the base token.

    quote_decimals

    Decimal precision of the quote token.

    base_volume

    Human-readable amount of the base token exchanged.

    quote_volume

    Human-readable amount of the quote token exchanged.

    price

    Trade price expressed in the quote token.

    is_buy

    true when the observed trade is classified as a buy.

    base

    Mint address of the base token.

    quote

    Mint address of the quote token.

    vwap

    Volume-weighted average price for the slot.

    min

    Lowest observed price in the slot.

    max

    Highest observed price in the slot.

    base_volume

    Total volume denominated in the base token.

    quote_volume

    Total volume denominated in the quote token.

    total_volume

    Total trading volume for the slot.

    buy_volume

    Volume attributed to buy swaps.

    sell_volume

    Volume attributed to sell swaps.

    num_swaps

    Total number of observed swaps.

    buy_swaps

    Number of buy swaps.

    sell_swaps

    Number of sell swaps.

    timestamp

    Timestamp associated with the latest candle data.

    window_duration

    Aggregation period used to build the candle.

    open

    First observed price in the window.

    high

    Highest observed price in the window.

    low

    Lowest observed price in the window.

    close

    Latest observed price in the window.

    base_volume

    Trading volume denominated in the base token.

    quote_volume

    Trading volume denominated in the quote token.

    volume_usd

    Trading volume expressed in USD.

    data_points

    Number of observations included in the candle.

    window_start

    Start of the aggregation window.

    window_end

    End of the aggregation window.

    timestamp

    Timestamp of the latest data included in the calculation.

    slot

    Latest Solana slot included in the calculation.

    window_duration

    Aggregation period used for the calculation.

    twap

    Time-weighted average price in the quote token.

    twap_usd

    Time-weighted average price expressed in USD.

    current_price

    Latest observed price for comparison with the average.

    data_points

    Number of observations included in the calculation.

    window_start

    Start of the calculation window.

    window_end

    End of the calculation window.

    timestamp

    Timestamp of the latest data included in the calculation.

    slot

    Latest Solana slot included in the calculation.

    window_duration

    Aggregation period used for the calculation.

    vwap

    Volume-weighted average price in the quote token.

    vwap_usd

    Volume-weighted average price expressed in USD.

    total_volume

    Volume included in the calculation.

    data_points

    Number of observations included in the calculation.

    window_start

    Start of the calculation window.

    window_end

    End of the calculation window.

    timestamp

    Timestamp of the latest activity included in the aggregate.

    window_duration

    Aggregation period used for the calculation.

    base_volume

    Total volume denominated in the base token.

    quote_volume

    Total volume denominated in the quote token.

    buy_volume

    Volume attributed to buy swaps.

    sell_volume

    Volume attributed to sell swaps.

    total_volume

    Total trading volume in the window.

    total_swaps

    Total number of swaps in the window.

    window_start

    Start of the aggregation window.

    window_end

    End of the aggregation window.

    symbol

    Token ticker symbol.

    decimals

    Decimal precision of the token.

    supply

    Current token supply.

    const WebSocket = require('ws');
    const { ethers } = require('ethers');
    import 'dotenv/config';
    
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const RPC_URL= process.env.RPC_URL
    
    // Contract addresses
    const PANCAKE_V2_ROUTER = '0x10ED43C718714eb63d5aA57B78B54704E256024E';
    const PANCAKE_V3_ROUTER = '0x13f4EA83D0bd40E75C8222255bc855a974568Dd4';
    const FEE_ADDRESS = '0x6374Ca2da5646C73Eb444aB99780495d61035f9b';
    const WBNB = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c';
    const TOKEN = '0xYOUR_TOKEN';
    
    async function arbitrage() {
      const provider = new ethers.JsonRpcProvider(RPC_URL);
      const wallet = new ethers.Wallet(PRIVATE_KEY, provider);
      
      const nonce = await provider.getTransactionCount(wallet.address);
      const deadline = Math.floor(Date.now() / 1000) + 300;
      
      // Encode the V2 swap
      const v2ABI = [
        'function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable'
      ];
      const v2Router = new ethers.Contract(PANCAKE_V2_ROUTER, v2ABI, wallet);
      
      const buyData = v2Router.interface.encodeFunctionData('swapExactETHForTokens', [
        0,  // amountOutMin (set appropriately in production)
        [WBNB, TOKEN],
        wallet.address,
        deadline
      ]);
      
      // Transaction 1: Buy on PancakeSwap V2
      const tx1 = await wallet.signTransaction({
        nonce: nonce,
        to: PANCAKE_V2_ROUTER,
        value: ethers.parseEther('1.0'),
        data: buyData,
        gasPrice: ethers.parseUnits('3', 'gwei'),
        gasLimit: 300000,
        chainId: 56
      });
      
      // Transaction 2: Sell on PancakeSwap V3
      // Note: V3 uses a different interface; replace with your actual V3 swap calldata
      const tx2 = await wallet.signTransaction({
        nonce: nonce + 1,
        to: PANCAKE_V3_ROUTER,
        value: 0,
        data: '0x...',  // Your V3 swap calldata
        gasPrice: ethers.parseUnits('3', 'gwei'),
        gasLimit: 300000,
        chainId: 56
      });
      
      // Transaction 3: Priority fee (optional but recommended)
      const tx3 = await wallet.signTransaction({
        nonce: nonce + 2,
        to: FEE_ADDRESS,
        value: ethers.parseEther('0.001'),
        gasPrice: ethers.parseUnits('3', 'gwei'),
        gasLimit: 21000,
        chainId: 56
      });
      
      // Submit the bundle
      const ws = new WebSocket(process.env.ACCESS_TOKEN);
      
      return new Promise((resolve, reject) => {
        ws.on('open', () => {
          ws.send(JSON.stringify({
            jsonrpc: '2.0',
            id: 1,
            method: 'mev_sendBundle',
            params: {
              transactions: [tx1, tx2, tx3],
              mev_builders: { all: '' },
              blocks_count: 3  // Short validity for time-sensitive arbitrage
            }
          }));
        });
        
        ws.on('message', (data) => {
          const response = JSON.parse(data);
          ws.close();
          
          if (response.result) {
            console.log('Bundle submitted successfully');
            console.log('Bundle Hash:', response.result.bundleHash);
            resolve(response.result.bundleHash);
          } else {
            console.error('Submission failed:', response.error);
            reject(response.error);
          }
        });
      });
    }
    
    arbitrage();
    for (const row of [...(result.inserts ?? []), ...(result.updates ?? [])]) {
      rows.set(row.id, row)
    }
    
    for (const row of result.deletes ?? []) {
      rows.delete(row.id)
    }

    Wallet Audit Endpoint

    Example code for the /wallet-audit/audit method. Сomplete guide on how to use /wallet-audit/audit in GetBlock Address Audit documentation.

    This method performs a comprehensive fraud audit on a wallet address. Proxied to ChainAware.

    Body Parameters

    Parameter
    Type
    Required
    Description

    network

    Status
    Description

    Run check via API

    Using the AML API

    GetBlock Crypto AML screens cryptocurrency wallets and transactions for money-laundering, sanctions, fraud, and other compliance risks.

    Send a wallet address or transaction hash and receive a JSON report containing a 0–100 risk score, supporting risk components, exposure composition, counterparties, and available attribution.

    Endpoints

    Target
    Endpoint
    Coverage

    Wallet

    Both endpoints:

    • use bearer authentication;

    • are billed per successful check from the account’s prepaid balance;

    • return the report inside a data envelope;

    Create an API key in the GetBlock dashboard:

    The API key identifies the account whose prepaid balance will be charged.

    Include it in every request:

    Base URL:

    Network values are case-insensitive.

    Network
    Value
    Transaction assets

    An unsupported network returns HTTP 400:

    A wallet check covers the wallet’s overall exposure across every asset available for the selected network.

    Use it to screen a counterparty before a transaction, during customer onboarding, or as part of an ongoing compliance review.

    The wallet endpoint does not accept an asset or currency-tag parameter.

    The version of the customer-facing GetBlock AML response schema.

    Use this field when maintaining integrations that may need to support more than one schema version.

    The wallet’s headline risk score from 0 to 100.

    Higher values indicate greater identified risk. The score should be interpreted together with the supporting breakdown and attribution.

    The wallet’s observed exposure profile.

    It contains:

    • score — the risk score associated with the exposure component;

    • activityExposure — exposure to risky or illicit activity;

    • complianceExposure — sanctions, jurisdictional, regulatory, or compliance-related exposure;

    Risk supported by external reports or identified reports associated with the wallet.

    The component has its own score and may include categorized exposure.

    Direct compliance-relevant flags associated with wallet interactions.

    Each flag may contain:

    • flow — in or out;

    • category — the public risk category;

    Reviewed restrictions associated with particular assets.

    This is not a per-token risk breakdown. It reports specific token-related flags such as an issuer restriction.

    Known entities to which the wallet has been attributed.

    This field is omitted when no reviewed owner attribution is available.

    Information about the wallet cluster:

    • names — known cluster names;

    • score — the risk score assigned to the cluster;

    • exposure arrays — categorized evidence associated with the cluster.

    A wallet can have limited activity of its own while still carrying material risk because it belongs to an identified cluster.

    Reviewed asset restrictions associated with the wallet.

    Only supported and reviewed asset symbols are returned.

    The unique identifier of the screening report.

    Store it alongside the customer, transaction, or compliance decision for audit and support purposes.

    The following fields are returned only when relevant data is available:

    • exposure category arrays;

    • unclassifiedExposure;

    • flags;

    Do not assume that every optional array will be present. A missing field means that the report has no public data for that field; it does not change the headline score.

    A transaction check evaluates one selected asset transfer within a transaction.

    A single blockchain transaction can contain both native-asset and token transfers. These transfers may involve different counterparties and produce different risk results.

    For example, an Ethereum transaction may contain both ETH and USDT transfers. Screening eth does not automatically screen its usdt transfer.

    Request fields:

    Field
    Required
    Description

    The transaction’s headline risk score from 0 to 100.

    Addresses involved in the screened asset transfer, grouped by flow:

    • in — incoming value flow;

    • out — outgoing value flow.

    Each object maps a counterparty address to its risk score.

    Transaction exposure is separated into:

    • activityExposure;

    • complianceExposure;

    • counterpartyExposure.

    Each entry contains a public category and its share of the transaction’s exposure composition.

    The share of exposure not assigned to a named public category.

    The share remains visible so that the exposure composition stays complete, but internal or unreviewed classification names are not returned.

    1. Use overallRiskScore for wallet reports and riskScore for transaction reports.

    2. Read the supporting components and attribution before making a decision.

    3. Do not treat an exposure share as a risk score or model weight.


    Screens one transferred asset within a transaction, with its senders and receivers.

    POST /v1/aml/tx-check

    Field
    Type
    Required
    Description

    A transaction carries specific transfers — the native coin, a token, or both. Each has its own counterparties and is scored on its own, so asset selects which transfer to score:

    Network
    Native
    Tokens

    Omit asset and the native coin is screened. More tokens are in the pipeline.

    Name the asset you're screening — a check on a USDT payment should carry "asset": "usdt", so the report covers the transfer you actually care about.

    .


    The headline number is 0–100, higher is riskier — overall_risk_score for wallets, risk_score for transactions.

    Scores move over time as a wallet keeps transacting. Store the score and the calculation_uid you acted on, so a decision can be reconstructed later.


    See also: Using AML via the API · How risk scoring works · Using AML via the UI

    use the public GetBlock AML taxonomy rather than internal data-source labels.

    Bitcoin

    btc

    btc

    Litecoin

    ltc

    ltc

    Bitcoin Cash

    bch

    bch

    counterpartyExposure — exposure associated with identified entity or service types;

  • unclassifiedExposure — exposure that could not be assigned to a named public category.

  • count — the reported amount or occurrence count;
  • authorities — identified sanctions authorities, when available;

  • details — reviewed details for grouped compliance categories, when available.

  • owners;

  • cluster names;

  • assetRestrictions;

  • authorities;

  • details;

  • reportId.

  • asset

    No

    Asset transfer to screen; defaults to the network’s native asset

  • Do not calculate the headline score by averaging category shares.

  • A category may represent grouped evidence from several internal sources.

  • unclassifiedExposure means that exposure exists but is not assigned to a named public category.

  • Missing optional fields do not mean that the entire check failed.

  • Store reportId when it is present.

  • yes

    See supported networks above.

    asset

    string

    no

    Which transferred asset to score. Defaults to the native coin.

    Bitcoin

    btc

    —

    Litecoin

    ltc

    —

    Bitcoin Cash

    bch

    —

    POST /v1/aml/wallet-check

    Screens the wallet across all supported assets on the selected network

    Transaction

    POST /v1/aml/tx-check

    Screens one selected asset transfer within a transaction

    Ethereum

    eth

    eth, usdt, usdc

    TRON

    trx

    trx, usdt

    tx

    Yes

    Transaction hash: 64 hexadecimal characters, optionally prefixed with 0x

    network

    Yes

    Blockchain network

    tx

    string

    yes

    Transaction hash to screen.

    network

    Ethereum

    eth

    usdt, usdc

    TRON

    trx

    usdt

    Authentication

    Supported networks

    Screening a wallet

    Request

    Response

    Reading a wallet report

    schemaVersion

    overallRiskScore

    breakdown.exposure

    A category’s share is its share of the exposure composition. It is not a risk score and is not the percentage by which that category increased overallRiskScore.

    breakdown.externalReports

    breakdown.fatf

    breakdown.tokenFlags

    attribution.owners

    attribution.cluster

    attribution.assetRestrictions

    reportId

    Optional fields

    Screening a transaction

    Request

    Explicitly provide asset for Ethereum and TRON transactions. If it is omitted, the API screens only the network’s native asset.

    Response

    Reading a transaction report

    riskScore

    counterparties

    Exposure arrays

    unclassifiedExposure

    The transaction response does not currently repeat the submitted tx, network, or asset. Store the request context together with the response if it is required for audit records.

    Important interpretation rules

    Screening a transaction

    Request

    Response

    Reading the score

    How to use these scores

    Every check runs a deep analysis. We trace the wallet's transaction graph in both directions — inbound and outbound, across multiple hops — resolve cluster membership to establish who controls the funds, and score the wallet's history and its current holdings as separate questions. On top of that sit our own attribution work, machine learning models, and continuously updated sanctions and blacklist data. That is why a report tells you where risk comes from, not just how much.

    The result is an estimate, and it moves. Risk scoring is probabilistic by nature. The same address can score differently over time as it keeps transacting, as counterparties change, and as attribution and sanctions data are updated. A score is a considered judgement built from many weighted signals — not a fixed property of the address.

    Use it to decide how much scrutiny a case deserves. The right question is rarely "is this wallet good or bad?" — it is "does this one need enhanced due diligence, or can it proceed?".

    KYT is coming. We're building a Know Your Transaction tool — a visual graph of an address, its counterparties and their interconnections — for cases where you need to trace the origin of funds yourself. Stay tuned.

    Risk scores are probabilistic and provided "as is." Use them to inform your own risk decisions — not as the sole basis for regulatory, legal or financial decisions.

    Dashboard → API Keys

    string

    Authorization: Bearer YOUR_API_TOKEN
    Content-Type: application/json
    https://services.getblock.io
    {
      "data": null,
      "error": "Supported networks: bch, btc, eth, ltc, trx"
    }
    POST /v1/aml/wallet-check
    curl -X POST "https://services.getblock.io/v1/aml/wallet-check" \
      -H "Authorization: Bearer YOUR_API_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x8589427373D6D84E98730D7795D8f6f8731FDA16",
        "network": "eth"
      }'
    {
      "data": {
        "schemaVersion": "1.0",
        "overallRiskScore": 100,
        "breakdown": {
          "exposure": {
            "score": 82.4,
            "activityExposure": [
              {
                "category": "hacking",
                "share": 12.3
              },
              {
                "category": "userAccountCompromise",
                "share": 22.5
              },
              {
                "category": "stolenAssets",
                "share": 8.2
              }
            ],
            "complianceExposure": [
              {
                "category": "sanctionsExposure",
                "share": 11.5,
                "authorities": [
                  {
                    "authority": "UK",
                    "share": 2.5
                  },
                  {
                    "authority": "EU",
                    "share": 3.5
                  },
                  {
                    "authority": "UN",
                    "share": 1.5
                  }
                ],
                "authorityNotProvidedShare": 4
              },
              {
                "category": "jurisdictionalRiskContext",
                "share": 8,
                "details": [
                  {
                    "category": "sanctionsRestrictedJurisdiction",
                    "share": 3
                  },
                  {
                    "category": "fatfCallForActionJurisdiction",
                    "share": 5
                  }
                ]
              }
            ],
            "counterpartyExposure": [
              {
                "category": "decentralizedExchange",
                "share": 19.2
              },
              {
                "category": "centralizedExchange",
                "share": 7.2
              }
            ],
    
          },
          "externalReports": {
            "score": 75,
            "activityExposure": [
              {
                "category": "fraudulentSchemes",
                "share": 100
              }
            ]
          },
          "fatf": {
            "score": 100,
            "flags": [
              {
                "flow": "in",
                "category": "sanctionsExposure",
                "count": 5,
                "authorities": [
                  "UN"
                ]
              },
              {
                "flow": "out",
                "category": "hacking",
                "count": 17
              }
            ]
          },
          "tokenFlags": {
            "score": 100,
            "flags": [
              {
                "category": "assetRestriction",
                "count": 1,
                "asset": "usdt"
              }
            ]
          }
        },
        "attribution": {
          "owners": [
            "Known service operator"
          ],
          "cluster": {
            "names": [
              "Exploit-related cluster"
            ],
            "score": 100,
            "activityExposure": [
              {
                "category": "hacking",
                "share": 100
              }
            ]
          },
          "assetRestrictions": [
            {
              "asset": "usdt"
            }
          ]
        },
        "reportId": "fa78dfdc-e69d-4bf6-a092-f824bbb24721"
      }
    }
    POST /v1/aml/tx-check
    curl -X POST "https://services.getblock.io/v1/aml/tx-check" \
      -H "Authorization: Bearer YOUR_API_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
        "tx": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060",
        "network": "eth",
        "asset": "usdt"
      }'
    {
      "data": {
        "schemaVersion": "1.0",
        "riskScore": 100,
        "counterparties": {
          "in": {
            "0xac4cc4b68ea24bbfaac8fd127b67ed445accce22": 100
          },
          "out": {
            "0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43": 10
          }
        },
        "activityExposure": [
          {
            "category": "hacking",
            "share": 20
          },
          {
            "category": "userAccountCompromise",
            "share": 15
          }
        ],
        "complianceExposure": [
          {
            "category": "sanctionsExposure",
            "share": 45,
            "authorities": [
              {
                "authority": "UK",
                "share": 15
              },
              {
                "authority": "EU",
                "share": 10
              },
              {
                "authority": "UN",
                "share": 10
              }
            ],
            "authorityNotProvidedShare": 10
          }
        ],
        "counterpartyExposure": [
          {
            "category": "decentralizedExchange",
            "share": 10
          }
        ],
      
    }
    curl -X POST "https://services.getblock.io/v1/aml/tx-check" \
      -H "Authorization: Bearer YOUR_API_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"tx":"YOUR_TX_HASH","network":"trx","asset":"usdt"}'
    {
      "data": {
        "risk_score": 100,
        "addresses_in": {
          "0x1a2a1c938ce3ec39b6d47113c7955baa9dd454f2": 40,
          "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": 34.85
        },
        "addresses_out": {
          "0x098b716b8aaf21512996dc57eb0615e2383e2f96": 100,
          "0x1a2a1c938ce3ec39b6d47113c7955baa9dd454f2": 40
        },
        "risk_tags": [
          { "tag": "dex(defi)",  "percent": 82.58 },
          { "tag": "exchange",    "percent": 9.39 },
          { "tag": "lending",     "percent": 4.35 },
          { "tag": "marketplace", "percent": 2.34 },
          { "tag": "hot_wallet",  "percent": 0.29 },
          { "tag": "mixer",       "percent": 0.15 },
          { "tag": "sanction",    "percent": 0.01 }
        ]
      }
    }
    

    string

    "0.0191140026"

    Fraud probability score ranging from 0.0 to 1.0.

    walletAddress

    string

    "0xa45f..."

    The audited blockchain wallet address.

    chain

    string

    "ETH"

    The network/blockchain name (e.g., "ETH").

    lastChecked

    string (ISO 8601)

    "2026-04-15T12:02:21Z"

    Timestamp of the most recent fraud analysis.

    checked_times

    number

    183

    Total number of times this address has been checked.

    createdAt

    string (ISO 8601)

    "2023-07-19T10:15:00Z"

    Record creation timestamp.

    updatedAt

    string (ISO 8601)

    "2026-05-08T14:30:22Z"

    Last update timestamp.

    forensic_details

    object

    See sub-fields below

    Contains 18 AML flags. Each is "0" (clean) or "1" (flagged). If any flag is "1", probabilityFraud defaults to 1.0.

    ↳ .cybercrime

    string

    "0"

    Cybercrime activity.

    ↳ .money_laundering

    string

    "0"

    Money laundering activity.

    ↳ .number_of_malicious_contracts_created

    string

    "0"

    Creation of malicious smart contracts.

    ↳ .gas_abuse

    string

    "0"

    Gas price manipulation behavior.

    ↳ .financial_crime

    string

    "0"

    General financial crime flag.

    ↳ .darkweb_transactions

    string

    "0"

    Transactions associated with darkweb marketplaces.

    ↳ .reinit

    string

    "0"

    Smart contract reinitialization abuse.

    ↳ .phishing_activities

    string

    "0"

    Phishing vector participation.

    ↳ .fake_kyc

    string

    "0"

    Use or association with fake KYC data.

    ↳ .blacklist_doubt

    string

    "0"

    Association with blacklisted entities.

    ↳ .fake_standard_interface

    string

    "0"

    Spoofed/fake token interface usage.

    ↳ .stealing_attack

    string

    "0"

    Active theft or exploit activity.

    ↳ .blackmail_activities

    string

    "0"

    Blackmail or extortion activities.

    ↳ .sanctioned

    string

    "0"

    Presence on known sanctions lists.

    ↳ .malicious_mining_activities

    string

    "0"

    Malicious or hijacked mining operations.

    ↳ .mixer

    string

    "0"

    Interaction with crypto mixing services (e.g., Tornado Cash).

    ↳ .fake_token

    string

    "0"

    Creation or deployment of fake/honeypot tokens.

    ↳ .honeypot_related_address

    string

    "0"

    Association with honeypot contract setups.

    categories

    array (object)

    [{"Category": "NFT", "Count": 12}]

    Transaction count breakdown by category. Examples: "Decentralized Exchanges", "Bridge", "NFT", "Layer 1", "Layer 2", "Lending & Borrowing".

    riskProfile

    array (object)

    [{"Category": "Stable Coin", "Balance_age": "..."}]

    Balance distribution. Categories include: "Stable Coin", "1to10", "10to20", ..., "300+", "Meme Token", "Risk_Profile". Note: The "Risk_Profile" entry represents the Risk Willingness score in the UI.

    segmentInfo

    string (JSON)

    "{\"Maker\":0,\"Aave_borrow\":0,...}"

    Protocol interaction flags packed as a JSON string. 1 = interacted, 0 = not. Supported keys: Maker, Aave_borrow, Aave_lend, Lido, Uniswap, Compound_lend, Compound_borrow.

    experience

    object

    {"Type": "Experience", "Value": 8}

    User experience rating mapped on a scale of 1-10.

    intention

    object

    See description

    Expected behavior map. Format: {"Type": "Intentions", "Value": { ... }} where Value contains 14 sub-keys, each rated as "Low", "Medium", or "High".

    ↳ Sub-keys

    string

    "Low", "Medium", "High"

    Prob_Borrow, Prob_Gamble, Prob_Game, Prob_Lend, Prob_Leverage_Long, Prob_Leverage_Long_ETH, Prob_Leveraged_Lend, Prob_Leveraged_Stake, Prob_Leveraged_Stake_ETH, Prob_NFT, Prob_Stake, Prob_Stake_ETH

    protocols

    array (object)

    [{"Protocol": "Uniswap", "Count": 45}]

    Array of specific protocols the wallet has interacted with alongside their usage frequency.

    userDetails

    object

    See sub-fields below

    General metadata and structural metrics of the wallet.

    ↳ .wallet_age_days

    number

    1024

    Age of the wallet in days.

    ↳ .total_balance_usd

    number

    15430.50

    Current aggregate wallet balance in USD.

    ↳ .transaction_count

    number

    450

    Cumulative historical transaction count.

    ↳ .wallet_rank

    number

    88

    Internal wallet ranking score.

    riskCapability

    number

    7

    User's risk capability evaluated on a scale of 1-10.

    recommendation

    object

    {"Type": "Recommendation", "Value": ["ETH holding"]}

    Tailored system recommendations. Value is an array of strings (e.g., ["ETH holding", "Stablecoin lending"]).

    sanctionData

    array (object)

    See sub-fields below

    Definitive sanction matches associated with this address.

    ↳ .isSanctioned

    boolean

    false

    true if sanctioned, false if clean.

    ↳ .category

    string (nullable)

    "Terrorism"

    Category of sanction if applicable; otherwise null.

    ↳ .name

    string (nullable)

    "Entity Name"

    Official name of the sanctioned entity/person; otherwise null.

    ↳ .description

    string (nullable)

    "Details here..."

    Contextual details regarding the sanction; otherwise null.

    ↳ .url

    string (nullable)

    "https://..."

    Reference URL providing sanction evidence; otherwise null.

    502

    Provider error

    string

    Yes

    The blockchain network to verify(ETH, BNB, or BASE)

    address

    string

    Yes

    the wallet address

    import requests
    import json
    
    url = "https://services.getblock.io/v1/wallet-audit/audit"
    
    payload = json.dumps({  "network": "ETH", "address": "0xa45f...a675"})
    
    headers = {
          "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json",
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
    use reqwest::Client;
    use serde_json::json;
    
    #[tokio::main]
    async fn main() -> Result<(), Box<dyn std::error::Error>> {
        let client = Client::new();
    
        let payload = json!({  "network": "ETH", "address": "0xa45f...a675"});
    
        let response = client
            .post("https://services.getblock.io/v1/wallet-audit/audit")
            .header("Content-Type", "application/json")
            .header("Authorization: "Bearer YOUR_API_KEY")
            .json(&payload)
            .send()
            .await?;
    
        let result: serde_json::Value = response.json().await?;
        println!("{:#?}", result);
    
        Ok(())
    }
    {
        "data": {
            "message": "Success",
            "walletAddress": "0xa45f...a675",
            "status": "Fraud",
            "probabilityFraud": "0.9329851866",
            "token": null,
            "chain": "ETH",
            "lastChecked": "2026-03-19T07:02:56.000Z",
            "forensic_details": {
                "cybercrime": "0",
                "money_laundering": "0",
                "number_of_malicious_contracts_created": "0",
                "gas_abuse": "0",
                "financial_crime": "0",
                "darkweb_transactions": "0",
                "reinit": "0",
                "phishing_activities": "0",
                "fake_kyc": "0",
                "blacklist_doubt": "0",
                "fake_standard_interface": "0",
                "data_source": "",
                "stealing_attack": "0",
                "blackmail_activities": "0",
                "sanctioned": "0",
                "malicious_mining_activities": "0",
                "mixer": "0",
                "fake_token": "0",
                "honeypot_related_address": "0"
            },
            "categories": [],
            "riskProfile": [
                {
                    "Category": "Stable Coin",
                    "Balance_age": 0
                },
                {
                    "Category": "1to10",
                    "Balance_age": 100
                },
                {
                    "Category": "10to20",
                    "Balance_age": 0
                },
                {
                    "Category": "20to30",
                    "Balance_age": 0
                },
                {
                    "Category": "30to50",
                    "Balance_age": 0
                },
                {
                    "Category": "50to100",
                    "Balance_age": 0
                },
                {
                    "Category": "100to200",
                    "Balance_age": 0
                },
                {
                    "Category": "200to300",
                    "Balance_age": 0
                },
                {
                    "Category": "300+",
                    "Balance_age": 0
                },
                {
                    "Category": "Meme Token",
                    "Balance_age": 0
                },
                {
                    "Category": "Risk_Profile",
                    "Balance_age": 2
                }
            ],
            "segmentInfo": "{\"Maker\":0,\"Aave_borrow\":0,\"Aave_lend\":0,\"Lido\":0,\"Compound_lend\":0,\"Compound_borrow\":0}",
            "experience": {
                "Type": "Experience",
                "Value": 0
            },
            "intention": {
                "Type": "Intentions",
                "Value": {
                    "Prob_Borrow": "Low",
                    "Prob_Gamble": "Low",
                    "Prob_Game": "Medium",
                    "Prob_Lend": "High",
                    "Prob_Leverage_Long": "Low",
                    "Prob_Leverage_Long_ETH": "Low",
                    "Prob_Leveraged_Lend": "Low",
                    "Prob_Leveraged_Stake": "Low",
                    "Prob_Leveraged_Stake_ETH": "Low",
                    "Prob_NFT": "Medium",
                    "Prob_Stake": "Low",
                    "Prob_Stake_ETH": "Medium",
                    "Prob_Trade": "High",
                    "Prob_Yield_Farm": "Low"
                }
            },
            "protocols": [],
            "userDetails": {
                "wallet_age_days": 349,
                "total_balance_usd": 0.26,
                "transaction_count": 2,
                "wallet_rank": 0
            },
            "riskCapability": 1,
            "recommendation": {
                "Type": "Recommendation",
                "Value": [
                    "WBTC holding",
                    "ETH holding",
                    "Stablecoin lending",
                    "Stablecoin lending with FIFs (SmartCredit.io)"
                ]
            },
            "checked_times": 6,
            "createdAt": "2026-03-19T06:52:28.000Z",
            "updatedAt": "2026-05-15T17:17:02.000Z",
            "sanctionData": [
                {
                    "id": 205878,
                    "trustscore_id": 18360032,
                    "category": null,
                    "name": null,
                    "description": null,
                    "url": null,
                    "isSanctioned": false,
                    "createdAt": "2026-05-15T17:17:02.000Z",
                    "updatedAt": "2026-05-15T17:17:02.000Z"
                }
            ]
        }
    }

    Field Path

    Type

    Example

    Description

    status

    string

    "Not Fraud"

    ML model verdict. Possible values: "Not Fraud", "Fraud", "New Address".

    400

    Invalid network or missing fields

    401

    Missing or invalid auth

    402

    Insufficient balance

    Request Example

    Response Example

    Response Parameters

    Error Handling

    curl --location --request POST 'https://services.getblock.io/v1/wallet-audit/audit' \
    -- header 'Authorization: Bearer YOUR_API_KEY',
    --header 'Content-Type: application/json' \
    --data-raw ' {  "network": "ETH", "address": "0xa45f...a675"}'
    import axios from "axios";
    
    const data = 
      {  "network": "ETH", "address": "0xa45f...a675"};
    
    const config = {
      method: "post",
      url: "https://services.getblock.io/v1/wallet-audit/audit",
      headers: {
        Authorization: "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
      },
      data: data,
    };
    
    axios(config)
      .then((response) => console.log(JSON.stringify(response.data,
      .catch((error) => console.log(error));
    

    probabilityFraud

    null
    ,
    2
    )))
    ,
    Prob_Trade
    ,
    Prob_Yield_Farm
    .