opensea-cli 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +37 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -85,6 +85,20 @@ opensea events by-collection <slug> [--event-type <type>]
85
85
  opensea events by-nft <chain> <contract> <token-id> [--event-type <type>]
86
86
  ```
87
87
 
88
+ ### Tokens
89
+
90
+ ```bash
91
+ opensea tokens trending [--chains <chains>] [--limit <n>] [--cursor <cursor>]
92
+ opensea tokens top [--chains <chains>] [--limit <n>] [--cursor <cursor>]
93
+ opensea tokens get <chain> <address>
94
+ ```
95
+
96
+ ### Swaps
97
+
98
+ ```bash
99
+ opensea swaps quote --from-chain <chain> --from-address <address> --to-chain <chain> --to-address <address> --quantity <quantity> --address <address> [--slippage <slippage>] [--recipient <recipient>]
100
+ ```
101
+
88
102
  ### Accounts
89
103
 
90
104
  ```bash
@@ -105,7 +119,7 @@ const stats = await client.collections.stats("mfers")
105
119
  const nfts = await client.nfts.listByCollection("mfers", { limit: 5 })
106
120
  const listings = await client.listings.best("mfers", { limit: 10 })
107
121
  const events = await client.events.byCollection("mfers", { eventType: "sale" })
108
- const account = await client.accounts.get("0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
122
+ const account = await client.accounts.get("0x21130e908bba2d41b63fbca7caa131285b8724f8")
109
123
  ```
110
124
 
111
125
  ## Output Formats
@@ -155,7 +169,7 @@ opensea nfts list-by-collection tiny-dinos-eth --limit 2
155
169
  opensea nfts list-by-contract ethereum 0xd9b78a2f1dafc8bb9c60961790d2beefebee56f4 --limit 2
156
170
 
157
171
  # List NFTs owned by an account
158
- opensea nfts list-by-account ethereum 0xde7fce3a1cba4a705f299ce41d163017f165d666 --limit 2
172
+ opensea nfts list-by-account ethereum 0x21130e908bba2d41b63fbca7caa131285b8724f8 --limit 2
159
173
 
160
174
  # Get contract details
161
175
  opensea nfts contract ethereum 0xd9b78a2f1dafc8bb9c60961790d2beefebee56f4
@@ -206,14 +220,33 @@ opensea events by-collection tiny-dinos-eth --limit 2
206
220
  opensea events by-nft ethereum 0xd9b78a2f1dafc8bb9c60961790d2beefebee56f4 1 --limit 2
207
221
 
208
222
  # Get events for an account
209
- opensea events by-account 0xde7fce3a1cba4a705f299ce41d163017f165d666 --limit 2
223
+ opensea events by-account 0x21130e908bba2d41b63fbca7caa131285b8724f8 --limit 2
224
+ ```
225
+
226
+ ### Tokens
227
+
228
+ ```bash
229
+ # Get trending tokens
230
+ opensea tokens trending --limit 2
231
+
232
+ # Get trending tokens on a specific chain
233
+ opensea tokens trending --chains base --limit 2
234
+
235
+ # Get top tokens by 24-hour volume
236
+ opensea tokens top --limit 2
237
+
238
+ # Get top tokens on a specific chain
239
+ opensea tokens top --chains base --limit 2
240
+
241
+ # Get details for a specific token (DebtReliefBot on Base)
242
+ opensea tokens get base 0x3ec2156d4c0a9cbdab4a016633b7bcf6a8d68ea2
210
243
  ```
211
244
 
212
245
  ### Accounts
213
246
 
214
247
  ```bash
215
248
  # Get account details
216
- opensea accounts get 0xde7fce3a1cba4a705f299ce41d163017f165d666
249
+ opensea accounts get 0x21130e908bba2d41b63fbca7caa131285b8724f8
217
250
  ```
218
251
 
219
252
  ## Exit Codes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opensea-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "OpenSea CLI - Query the OpenSea API from the command line or programmatically",
6
6
  "main": "dist/index.js",