Web3 module to interact with the Ethereum blockchain and smart contracts.
Agent Success
Agent success rate when using this tile
67%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.99x
Baseline
Agent success rate without this tile
68%
A module that surfaces EIP-1559 fee suggestions and simple historical fee insights from an Ethereum node.
type "eip1559", maxFeePerGas "38000000000", maxPriorityFeePerGas "2000000000", and baseFeePerGas "30000000000". @testtype "legacy" with both maxFeePerGas and maxPriorityFeePerGas set to "15000000000". @testbaseFeeMedian "24000000000", rewardAtPercentile "2000000000", oldestBlock matching the window start, and newestBlock matching the latest block number. @test@generates
All fee values are returned as decimal strings representing wei.
export interface FeeRecommendation {
type: "eip1559" | "legacy";
maxFeePerGas: string;
maxPriorityFeePerGas: string;
baseFeePerGas?: string;
}
export interface FeeWindowSummary {
baseFeeMedian: string;
rewardAtPercentile: string;
oldestBlock: number;
newestBlock: number;
}
export async function recommendNextBlockFees(targetMultiplier?: number): Promise<FeeRecommendation>;
export async function summarizeRecentFees(blockCount: number, percentile: number): Promise<FeeWindowSummary>;
export async function isPrioritySufficient(candidateTipWei: string): Promise<boolean>;Ethereum JSON-RPC client used for fee and gas discovery operations.
tessl i tessl/npm-web3-eth@4.8.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10