81trust / 100

Enrich Wallet Full Invoke

by SolEnrich in Onchain & crypto

x402 APIPassing, checked 4 h ago

Adds DeFi positions, connected wallets, enhanced transaction history, automated-activity behavioral signals, and a wider NFT collection breakdown to the light profile.

POST https://api.solenrich.com/entrypoints/enrich-wallet-full/invoke

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.solenrich.com/entrypoints/enrich-wallet-full/invoke" \
  -H "content-type: application/json" \
  -d '{"address":"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg","depth":"full","format":"json"}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.solenrich.com%2Fentrypoints%2Fenrich-wallet-full%2Finvoke
const res = await pay("https://api.solenrich.com/entrypoints/enrich-wallet-full/invoke", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg","depth":"full","format":"json"}),
});
console.log(await res.json());

Example input

{
  "address": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
  "depth": "full",
  "format": "json"
}

Example output

{
  "output": {
    "address": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
    "defi_positions": [
      {
        "protocol": "Orca",
        "type": "swap",
        "value_usd": 0
      }
    ],
    "first_tx_date": "2022-04-15T22:33:33.000Z",
    "labels": [
      "defi_user",
      "dormant"
    ],
    "nft_collections": [
      {
        "collection_mint": "7gCKeoTNBq8BvX5KQgeMiwbkBrtuxMcUN4JRMNfizTSK",
        "compressed": true,
        "count": 1,
        "name": "Qualified #611",
        "suspected_spam": false
      }
    ],
    "nft_count": 9,
    "nft_summary": {
      "airdropped": 8,
      "collected": 0,
      "distinct_collections": 0,
      "suspected_spam": 1,
      "total": 9
    },
    "portfolio_value_usd": 4.7292,
    "risk_level": "LOW",
    "risk_score": 0,
    "sol_balance": 0.039869,
    "token_count": 6,
    "top_holdings": [
      {
        "balance": 29.621,
        "mint": "FS66v5XYtJAFo14LiPz5HT93EUMAHmYipCfQhLpU4ss8",
        "symbol": "SMOG",
        "usd_value": 0.0015731
      }
    ],
    "tx_count_30d": 0
  },
  "run_id": "uuid",
  "status": "succeeded"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402179 ms$0.005