77trust / 100

Chain Gas

by manylives.me in Onchain & crypto

x402 APIPassing, checked 26 min ago

Current Base network gas: base fee, suggested priority fee and max fee, and the cost in ETH of a plain transfer and of a typical token transfer.

GET https://manylives.me/paid/chain/gas

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
399 ms typical, 509 ms slowest 5%
Last check
26 min ago
Next check
in 3 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://manylives.me/paid/chain/gas?units=gwei"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmanylives.me%2Fpaid%2Fchain%2Fgas
const res = await pay("https://manylives.me/paid/chain/gas?units=gwei");
console.log(await res.json());

Example input

{
  "units": "gwei"
}

Example output

{
  "base_fee_gwei": "0.005",
  "block": 123,
  "max_fee_gwei": "0.011",
  "priority_fee_gwei": "0.001",
  "token_transfer_cost_eth": "0.00000071",
  "transfer_cost_eth": "0.000000231"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
26 min agoPassed402408 ms$0.002
4 h agoPassed402489 ms$0.002
8 h agoPassed402457 ms$0.002
12 h agoPassed402558 ms$0.002
16 h agoPassed402393 ms$0.002
19 h agoPassed402419 ms$0.002
23 h agoPassed402414 ms$0.002
26 h agoPassed402386 ms$0.002
30 h agoPassed402399 ms$0.002
34 h agoPassed402358 ms$0.002
37 h agoPassed402372 ms$0.002
41 h agoPassed402398 ms$0.002
44 h agoPassed402362 ms$0.002
2 days agoPassed402509 ms$0.002
2 days agoPassed402398 ms$0.002