Skip to content

Commit 033d67a

Browse files
docs: add token CLI examples to README
Co-Authored-By: unknown <>
1 parent ccbf6f4 commit 033d67a

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ opensea events by-collection <slug> [--event-type <type>]
8585
opensea events by-nft <chain> <contract> <token-id> [--event-type <type>]
8686
```
8787

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+
88102
### Accounts
89103

90104
```bash
@@ -209,6 +223,25 @@ opensea events by-nft ethereum 0xd9b78a2f1dafc8bb9c60961790d2beefebee56f4 1 --li
209223
opensea events by-account 0xde7fce3a1cba4a705f299ce41d163017f165d666 --limit 2
210224
```
211225

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
243+
```
244+
212245
### Accounts
213246

214247
```bash

0 commit comments

Comments
 (0)