Blocknative

Blocknative MCP integration

Quotes next-block gas and base fee predictions, prepares mempool and transaction subscriptions, and cleans them up when monitoring ends.

10actions available

Three actions you can hand over today

Every action runs live through MCP. Nothing to build, nothing to maintain.

  • Get gas prices

    Lyro fetches real-time gas price estimates from Blocknative for specific transaction priorities. Your team decides when to execute blockchain operations based on current costs.

  • Subscribe transaction hash

    Lyro sets up event subscriptions for an Ethereum transaction hash via Blocknative. Your team monitors critical transactions and reacts instantly when status changes.

  • Unsubscribe transaction hash

    Lyro cancels event subscriptions for a transaction hash to clean up monitoring overhead. You stop tracking stale transactions and reduce unnecessary notifications.

See all 10 actions

How businesses use Blocknative + Lyro

Each card is one request a support team gets, and the Blocknative actions Lyro runs to close it.

  • Price a transaction before it is sent

    Lyro returns gas prices for the next block or roughly the next ten seconds, base, blob and priority fee predictions for Ethereum's next five blocks, and the mempool distribution those numbers came from.

    Get Gas PricesGet Base Fee EstimatesGet Gas Price Distribution
  • Watch a transaction until it settles

    Lyro composes the subscription payload for a transaction hash or an account address on any supported chain and sets the mempool filters and ABI decoding, so state changes arrive decoded as they happen.

    Subscribe Transaction HashSubscribe MultichainConfigure Mempool Filters
  • Retire a watch once monitoring is done

    Lyro cancels a transaction-hash subscription or removes a multichain watch by its id and chainId, so a long-running session does not leave dead subscriptions consuming the connection.

    Unsubscribe Transaction HashUnsubscribe Multichain
  • Check coverage before building on a network

    Lyro lists the chains Blocknative's gas services support and the on-chain gas estimation oracles available on each, so a question about a less common network is settled up front.

    Get Supported ChainsGet Gas Oracles

How it works

Get started in 3 steps

Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Blocknative actions it has and picks the ones a request needs.

  1. 01

    Connect Blocknative

    Authorize the Blocknative account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.

  2. 02

    Tell your agent what you need

    Describe the job the way you would hand it to a teammate. Lyro maps it to the Blocknative actions that close it and chains as many as the request needs.

  3. 03

    Watch it work

    The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.

    Get started free
Blocknative · Lyro

Everything else about Blocknative

Setup, permissions, and the limits of what Lyro can do inside Blocknative.

  • No. Subscribe Transaction Hash and Subscribe Multichain return the connection details and the subscription message to send; the socket itself is opened by a WebSocket client on your side. Lyro's part is composing the correct payload for the chain and target, and calling the matching unsubscribe when the watch is finished.

Every action available in Blocknative

All 10 actions your agent can call on Blocknative, straight from the live MCP connection.

  • Configure mempool filters

    Configure filters and ABI decoding for Ethereum mempool transactions.

  • Get gas price distribution

    Retrieve the current mempool gas price distribution breakdown.

  • Get gas oracles

    Retrieve metadata on supported gas oracles per chain.

  • Get gas prices

    Fetch gas price estimates for specific inclusion probabilities.

  • Get supported chains

    Retrieve supported chains metadata.

  • Get base fee estimates

    Get real-time gas fee predictions for Ethereum mainnet's next 5 blocks.

  • Subscribe multichain

    Generate WebSocket connection details to subscribe to real-time blockchain events (transactions or account activity) across multiple chains via Blocknative's Multichain API.

  • Subscribe transaction hash

    Subscribe to transaction state change events of an Ethereum transaction hash.

  • Unsubscribe multichain

    Unsubscribe from events across multiple chains using the Multichain SDK.

  • Unsubscribe transaction hash

    Unsubscribe from transaction state change events for an Ethereum transaction hash.

Ready to connect Blocknative?

Authorize the account and your agent has all 10 actions from the first conversation.

Support agent working at a laptop next to the Lyro mascot