80trust / 100

Solana Wallet

by SiteCheck in Onchain & crypto

x402 APIPassing, checked 2 h ago

Solana wallet holdings: SOL and every SPL / Token-2022 balance with name, symbol, USD price and value (Jupiter), sorted by value, plus the total in USD. Dust and unpriced tokens hidden unless includeDust=1. Information only.

GET https://api.sitecheck-api.workers.dev/api/solana/wallet

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
35 ms typical, 35 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.sitecheck-api.workers.dev/api/solana/wallet?address=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
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%2Fapi.sitecheck-api.workers.dev%2Fapi%2Fsolana%2Fwallet
const res = await pay("https://api.sitecheck-api.workers.dev/api/solana/wallet?address=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM");
console.log(await res.json());

Example input

{
  "address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
}

Example output

{
  "address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
  "disclaimer": "Information only, not financial advice.",
  "hiddenDustOrUnpriced": 2,
  "sol": {
    "amount": 12.5,
    "priceUsd": 106.49,
    "valueUsd": 1331.1
  },
  "tokenAccounts": 3,
  "tokens": [
    {
      "amount": 250,
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "name": "USD Coin",
      "priceUsd": 1,
      "program": "spl-token",
      "symbol": "USDC",
      "valueUsd": 250,
      "verified": true
    }
  ],
  "tokensShown": 1,
  "totalValueUsd": 1581.1
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40244 ms$0.003
7 h agoPassed40235 ms$0.003