Skip to content
Fourohtwo

x402.santyvv.com/api/chain/nonce

Transactions sent by an address, which is the next nonce to use for the pending or latest block. Used by any agent that signs its own transactions and needs the counter without running a node.

BaseAnswering
GEThttps://x402.santyvv.com/api/chain/nonce

Uptime100% of 2 checks in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.santyvv.com/api/chain/nonce?chain=Red+EVM%3A+base%2C+ethereum%2C+arbitrum%2C+optimism%2C+polygon+%28por+defecto%3A+base%29+Ejemplo%3A+base&estado=latest+o+pending+%28por+defecto%3A+latest%29+Ejemplo%3A+latest&address=Direccion+EVM+%280x+%2B+40+hex%29+%28obligatorio%29+Ejemplo%3A+0x69F1EBCCD06a0dD7355922c56A3D51E17dC01388");
console.log(await res.json());

Example input

{
  "chain": "Red EVM: base, ethereum, arbitrum, optimism, polygon (por defecto: base) Ejemplo: base",
  "estado": "latest o pending (por defecto: latest) Ejemplo: latest",
  "address": "Direccion EVM (0x + 40 hex) (obligatorio) Ejemplo: 0x69F1EBCCD06a0dD7355922c56A3D51E17dC01388"
}

More from santyvv-dataProvider status