80trust / 100

Wallet 402

by vu.velvetdao.xyz in Onchain & crypto

x402 APIPassing, checked 10 min ago

AI wallet portfolio analysis: token balances, PnL, risk metrics.

POST https://vu.velvetdao.xyz/api/v1/wallet_402

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
441 ms typical, 441 ms slowest 5%
Last check
10 min ago
Next check
in 23 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://vu.velvetdao.xyz/api/v1/wallet_402" \
  -H "content-type: application/json" \
  -d '{"wallet":"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%2Fvu.velvetdao.xyz%2Fapi%2Fv1%2Fwallet_402
const res = await pay("https://vu.velvetdao.xyz/api/v1/wallet_402", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}),
});
console.log(await res.json());

Example input

{
  "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}

Example output

{
  "answer": "Portfolio value $12,500. Top holdings: ETH 60%, USDC 20%..."
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
10 min agoPassed402441 ms$0.01
5 h agoPassed402455 ms$0.01