From df51f9b77baf6cb623eedff19aa29b89e4ba7e8f Mon Sep 17 00:00:00 2001 From: priotts Date: Sat, 3 Oct 2026 23:32:03 +0200 Subject: [PATCH] docs: fix README search examples to match current CLI and SDK --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67bc70c..706c89c 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ opensea nfts list-by-collection mfers --limit 5 opensea listings best mfers --limit 5 # Search across OpenSea -opensea search collections "cool cats" +opensea search "cool cats" --types collection # Get trending tokens opensea tokens trending --limit 5 @@ -160,7 +160,10 @@ const activity = await client.tokens.activityStats( "0x4200000000000000000000000000000000000006", { windows: ["1h", "24h"] }, ) -const results = await client.search.collections("mfers", { limit: 5 }) +const results = await client.search.query("mfers", { + assetTypes: ["collection"], + limit: 5, +}) const declared = await client.agent.declare() const { relationships } = await client.agent.list()