Skip to content
Fourohtwo

Wallet profit and loss by token

api.hivemindos.app/v1/x402/onchain-intelligence/wallets.tokenPnl

Wallet profit and loss by token: one wallet's realized and unrealized profit and loss for each token it traded. Use when an agent needs to know how well a wallet has traded each token before following it. $0.05 this call, in USDC on Base; you pay only if it succeeds. HivemindOS SuperAgent API.

BaseAnswering
POSThttps://api.hivemindos.app/v1/x402/onchain-intelligence/wallets.tokenPnl

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://api.hivemindos.app/v1/x402/onchain-intelligence/wallets.tokenPnl", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}),
});
console.log(await res.json());

Example input

{
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}

More from HivemindOSProvider status