Skip to content
Fourohtwo

Base receipt block gas share

kette.halowerk.com/v1/base-receipt-block-gas-share

Base receipt block gas share: return the share of its block gas consumed by a transaction. Use it when an agent needs to measure how much execution a transaction used relative to its block.

BaseUnchecked
POSThttps://kette.halowerk.com/v1/base-receipt-block-gas-share

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://kette.halowerk.com/v1/base-receipt-block-gas-share", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"hash":"0xf947b3545c259a5735848a5aa6712b4b5ed0686a02f5613e61cfbe7d9a35c463"}),
});
console.log(await res.json());

Example input

{
  "hash": "0xf947b3545c259a5735848a5aa6712b4b5ed0686a02f5613e61cfbe7d9a35c463"
}

More from HALOWERK kettenwerk