Skip to content
Fourohtwo

Agent Wallet Runway

www.omenz.org/api/tollbooth/v1/wallet/runway

Agent Wallet Runway: how many days before this agent wallet runs dry? USDC balance / recent daily spend -> days left, OK / LOW / CRITICAL, and the top cost drivers by payee. Public chain data on Base. By OMENZ.

BaseAnswering
GEThttps://www.omenz.org/api/tollbooth/v1/wallet/runway

Uptime100% of 1 check 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://www.omenz.org/api/tollbooth/v1/wallet/runway?address=0x1bd3aaa92243e3d4352bdce07050aec6fcf5e840&days=7&low_days=3");
console.log(await res.json());

Example input

{
  "address": "0x1bd3aaa92243e3d4352bdce07050aec6fcf5e840",
  "days": 7,
  "low_days": 3
}