Skip to content
Fourohtwo

agent-data.centorprat.workers.dev/chain/chain-id/electroneum-mainnet

[electroneum-mainnet] Chain id straight from the node, plus whether it matches the chain name you asked for. The cheapest way to confirm you are talking to the chain you think you are, which is the most common cause of a transaction that 'vanishes'.

BasePolygonSolanaUnchecked
GEThttps://agent-data.centorprat.workers.dev/chain/chain-id/electroneum-mainnet

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://agent-data.centorprat.workers.dev/chain/chain-id/electroneum-mainnet?chain=base");
console.log(await res.json());

Example input

{
  "chain": "base"
}

More from Agent Toolkit