You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Use the `sdk.info.spot.getSpotMeta()` method to get all available spot tokens
346
+
2. Each token object contains the `tokenId` field which is the address to use
347
+
3. Format: `"${token.name}:${token.tokenId}"`
348
+
349
+
**Common mistakes:**
350
+
- ❌ `"PURR-SPOT"` - Incorrect format
351
+
- ❌ `"PURR"` - Missing address
352
+
- ❌ `"0xeb62eee3685fc4c43992febcd9e75443"` - Missing token name
353
+
- ✅ `"PURR:0xeb62eee3685fc4c43992febcd9e75443"` - Correct format
354
+
269
355
All methods supported can be found here: [Hyperliquid Exchange Endpoint API Documentation](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint)
270
356
271
357
### General Info Methods
@@ -300,7 +386,7 @@ sdk.info
300
386
.catch(error => {
301
387
console.error('Error getting L2 book:', error);
302
388
});
303
-
```
389
+
````
304
390
305
391
All methods supported can be found here: [Hyperliquid Info Endpoint API Documentation](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint)
0 commit comments