81trust / 100
Wallet History Invoke
by SolEnrich in Onchain & crypto
x402 APIPassing, checked 3 h ago
Portfolio snapshots with position changes (added/removed holdings), direction indicators.
POST https://api.solenrich.com/entrypoints/wallet-history/invoke
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 180 ms typical, 180 ms slowest 5%
- Last check
- 3 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/wallet-history/invoke" \
-H "content-type: application/json" \
-d '{"address":"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg","format":"json","lookback":"7d"}'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.solenrich.com%2Fentrypoints%2Fwallet-history%2Finvoke
const res = await pay("https://api.solenrich.com/entrypoints/wallet-history/invoke", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg","format":"json","lookback":"7d"}),
});
console.log(await res.json());Example input
{
"address": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
"format": "json",
"lookback": "7d"
}Example output
{
"output": {
"current": {
"address": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
"nft_count": 9,
"nft_summary": {
"airdropped": 8,
"collected": 0,
"distinct_collections": 0,
"suspected_spam": 1,
"total": 9
},
"portfolio_value_usd": 4.7292,
"sol_balance": 0.039869,
"token_count": 6,
"top_holdings": [
{
"balance": 29.621,
"mint": "FS66v5XYtJAFo14LiPz5HT93EUMAHmYipCfQhLpU4ss8",
"symbol": "SMOG",
"usd_value": 0.0015731
}
]
},
"data_points": 2,
"deltas": [
{
"absolute_change": 0.7075,
"current": 4.7292,
"direction": "improving",
"metric": "portfolio_value",
"oldest": 4.0217,
"pct_change": 17.59
}
],
"lookback_days": 7,
"overall_direction": "improving",
"position_changes": {
"added": [],
"removed": []
},
"snapshots": [
{
"date": "2026-09-17",
"nft_count": 9,
"portfolio_value_usd": 4.0217,
"risk_score": 0.15,
"sol_balance": 0.039869,
"token_count": 6,
"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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 193 ms | $0.006 |
| 8 h ago | Passed | 402 | 180 ms | $0.006 |