Blocknative

Learn how to use Blocknative with Composio

Overview

Enum

BLOCKNATIVE

Description

Blocknative provides real-time mempool monitoring and transaction management tools for public blockchains.

Authentication Details

api_key
stringRequired

Actions

Tool to configure filters and abi decoding for ethereum mempool transactions. use after establishing a blocknative websocket connection to set up event filters and decoding.

Action Parameters

categoryCode
stringRequired
config
objectRequired
eventCode
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve the current mempool gas price distribution breakdown. use when analyzing gas price trends or preparing fee strategies.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to retrieve metadata on supported gas oracles per chain. use when you need to dynamically discover all available on-chain gas estimation oracles across networks.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to fetch gas price estimates for specific inclusion probabilities. use when you need gas price ranges for the next block or next ~10 seconds.

Action Parameters

chainid
integerDefaults to 1
confidenceLevels
array
network
string
system
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve supported chains metadata. use when discovering available networks for blocknative gas services.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to get real-time predictions for base fee and blob base fee for the next 5 blocks. use when you need both 99% and 50% confidence estimates for upcoming blocks.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to generate websocket subscription details for events across multiple chains. use when preparing to track a transaction hash or account address across chains via blocknative multichain sdk.

Action Parameters

abi
array
chainId
stringRequired
filters
array
id
stringRequired
type
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to subscribe to transaction state change events of an ethereum transaction hash. use after establishing a blocknative websocket connection to prepare the subscription message.

Action Parameters

hash
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to unsubscribe from events across multiple chains using the multichain sdk. use after stopping monitoring of an address or transaction to clean up resources, e.g., call: blocknative.unsubscribe({ id: '0x..', chainid: '0x1' }).

Action Parameters

chainId
Required
id
Required

Action Response

data
object
error
string
successful
boolean
Tool to unsubscribe from transaction state change events for an ethereum transaction hash. use after establishing a blocknative websocket connection to prepare the unsubscription message.

Action Parameters

hash
stringRequired

Action Response

data
object
error
string
successful
boolean