83trust / 100

Wallet Portfolio

by Pocket Network in Onchain & crypto

x402 APIPassing, checked 19 min ago

Wallet holdings across 12 chains in one call: native and known-token balances on Ethereum, Base, BNB Chain, Arbitrum, Monad, Robinhood Chain, Polygon, Avalanche, Plasma, Optimism, Solana and Hyperliquid. POST /v1/portfolio with {address} (0x or ENS) and optional chains; default is Ethereum only. Pay per request in USDC; no account, no API key.

POST https://agent.pocket.network/v1/wallet-portfolio

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
44 ms typical, 44 ms slowest 5%
Last check
19 min ago
Next check
in 9 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent.pocket.network/v1/wallet-portfolio" \
  -H "content-type: application/json" \
  -d '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent.pocket.network%2Fv1%2Fwallet-portfolio
const res = await pay("https://agent.pocket.network/v1/wallet-portfolio", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}),
});
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}

Example output

{
  "data": {},
  "portal": {
    "provenance": "third-party-supplier",
    "schemaCheck": "passed",
    "serviceId": "wallet-portfolio"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
19 min agoPassed40244 ms$0.005
5 h agoPassed402298 ms$0.005