Skip to content
Fourohtwo

Base wallet portfolio

nightshift-x402.nightshift-labs.workers.dev/v1/base/portfolio

Base wallet portfolio: ETH plus 12 major Base tokens (USDC, USDbC, DAI, EURC, WETH, cbETH, wstETH, cbBTC, AERO, DEGEN, VIRTUAL, BRETT) with non-zero balances, USD values from Chainlink ETH/USD and BTC/USD feeds, and a total.

BaseAnswering
GEThttps://nightshift-x402.nightshift-labs.workers.dev/v1/base/portfolio

Uptime100% of 5 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://nightshift-x402.nightshift-labs.workers.dev/v1/base/portfolio?address=0x3304E22DDaa22bCdC5fCa2269b418046aE7b566A");
console.log(await res.json());

Example input

{
  "address": "0x3304E22DDaa22bCdC5fCa2269b418046aE7b566A"
}