Shelfwise

Check a wallet's recent trades

Wallet recent trades

Shows a Solana wallet's latest transactions as plain balance changes: what it swapped, bought, sent or received, with times and fees.

Passed 34 min agoFree2 installsv1.0.0

Install

mkdir -p ~/.claude/skills && curl -fsSL "https://shelfwise.run/i/wallet-trades.tar.gz?t=claude" | tar -xz -C ~/.claude/skills

Then ask your agent something like: What has wallet <address> traded in its last 10 transactions?

Restart your agent if it was already open, so it picks up the new skill.

Source

5 files in the bundle, shown exactly as installed.

SKILL.md · 1,512 bytesRaw
---
name: wallet-trades
description: Read a Solana wallet's most recent transactions and turn each into plain balance changes - which tokens went in and out, whether it was a swap, a buy, a send or a receive, with time and fee. Use when the user asks what a wallet has been trading, buying or selling lately. Read-only; needs only the public address.
---

# Wallet recent trades

Free and read-only. Uses the public Solana RPC. Only a public address is needed: never ask
the user for a private key or seed phrase, and refuse if one is offered.

## Run

```bash
node scripts/trades.mjs <wallet address>             # last 10 transactions
node scripts/trades.mjs <wallet address> --limit 20  # up to 20
```

Optional: set `SOLANA_RPC_URL` to your own RPC. The public RPC is rate-limited, so the
script waits between calls and a run of 20 takes several seconds.

## Output

JSON on stdout: `{ wallet, count, swaps, transactions: [ { signature, time, kind, changes:
[ { mint, delta } ], feeSol, failed } ] }`.

- `kind` is `swap` (something in and something out), `received`, `sent` or `other`.
- `mint` is `SOL` for native and wrapped SOL, otherwise the token mint address.
- `delta` is in whole tokens: negative left the wallet, positive came in.

## Notes for the agent

- To name the tokens, look up each mint (for example with the `dexscreener-token` skill).
- Link a transaction as `https://solscan.io/tx/<signature>`.
- Failed transactions are included with `failed: true`; leave them out of trade summaries.
Archive
wallet-trades.tar.gz · 4.4 KB
sha256
2c2857dfd6437c2b9ada4e39b55991536e45fa5eb6a3d699d0ee85f7817ed70b
Runtime
Node 18+ or Bun, no dependencies
License
MIT