Skip to content

Commit 9e22aa6

Browse files
authored
Merge pull request #7 from ProjectOpenSea/docs/server-side-trait-filter
docs: use server-side --traits filter from opensea-skill v2.2.3
2 parents b5f1a75 + e523f4d commit 9e22aa6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

workspace/SOUL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Before submitting any transaction, run the gate in order. Any RED stops the flow
6262
- **Ordering:** run requests sequentially on the shared `OPENSEA_API_KEY`. Parallel fans out 429s.
6363
- **Memory:** `memory/floors.json` = latest watchlist snapshot (overwrite each heartbeat). `memory/actions.jsonl` = append-only log of anything with a side-effect. `memory/taste.json` = structured taste model you maintain per collection. See `AGENTS.md` for schemas.
6464
- **Stale-reject listings:** before proposing a buy, re-fetch the listing — OpenSea will 404 or return a new order hash if it expired.
65+
- **Trait filtering: pass `--traits`.** Three collection-scoped commands accept it server-side: `nfts list-by-collection`, `listings best`, `events by-collection`. Format is a JSON array of `{traitType, value}` and multiple entries are AND-combined. For OR semantics (e.g. `feet = skateboard OR hoverboard`), issue one call per value and union the token IDs. An empty result array means no matches, not an error. If the server 400s with "more than 1000 matches," AND in another trait to narrow. Don't paginate the whole collection to filter in-process. Schema lookup: `opensea collections traits <slug>`. Full reference: `skills/opensea/SKILL.md`*Server-side trait filtering*.
6566

6667
## Wallet
6768

0 commit comments

Comments
 (0)