秋田预测市场 · Discord 审计

mambo参与话题 2消息总数 5

该用户的聊天记录定位。

Reset

聊天记录

共 5 条,显示第 1-5 条
mambo 2026-06-28 20:42:53 Hyperliquid API 端点和速率限制问题

is there any reference api i can take a look at to get an address' hip4 activity?

is there any reference api i can take a look at to get an address' hip4 activity?

think theres an error in how the SDK handles spotMeta in the API, not sure if its because of the token list breaking or the universe adding a breaking change, but based on spot_meta['tokens'][base] it looks like its array-numeric-indexed, and theres this entry under universe: { "tokens": [ 479, 0 ], "name": "@367", "index": 367, "isCanonical": false } but there arent 479 entries in the tokens array (looks like 464 atm). looking at tokens it seems they all have an index but its not handled properly perhaps due to delistings e.g. 481 jumps to 512, so the total count is now less and the array-based indexing breaks. could you guys fix the SDK please, thanks! example: { "name": "WBRL", "szDecimals": 2, "weiDecimals": 8, "index": 481, "tokenId": "0xba91b8fcaf3f411aaa2ccd4f96cbad18", "isCanonical": false, "evmContract": null, "fullName": "Wrapped Brazilian Real", "deployerTradingFeeShare": "1.0" }, { "name": "TREAD", "szDecimals": 2, "weiDecimals": 8, "index": 512, "tokenId": "0xc03b5b39372b9daa292adc59a8568263", "isCanonical": false, "evmContract": null, "fullName": null, "deployerTradingFeeShare": "1.0" },

think theres an error in how the SDK handles spotMeta in the API, not sure if its because of the token list breaking or the universe adding a breaking change, but based on spot_meta['tokens'][base] it looks like its array-numeric-indexed, and theres this entry under universe: { "tokens": [ 479, 0 ], "name": "@367", "index": 367, "isCanonical": false } but there arent 479 entries in the tokens array (looks like 464 atm). looking at tokens it seems they all have an index but its not handled properly perhaps due to delistings e.g. 481 jumps to 512, so the total count is now less and the array-based indexing breaks. could you guys fix the SDK please, thanks! example: { "name": "WBRL", "szDecimals": 2, "weiDecimals": 8, "index": 481, "tokenId": "0xba91b8fcaf3f411aaa2ccd4f96cbad18", "isCanonical": false, "evmContract": null, "fullName": "Wrapped Brazilian Real", "deployerTradingFeeShare": "1.0" }, { "name": "TREAD", "szDecimals": 2, "weiDecimals": 8, "index": 512, "tokenId": "0xc03b5b39372b9daa292adc59a8568263", "isCanonical": false, "evmContract": null, "fullName": null, "deployerTradingFeeShare": "1.0" },

anyone getting this issue with the `Info` initialisation for the python sdk? ``` site-packages\hyperliquid\info.py", line 47, in __init__ base_info = spot_meta["tokens"][base] ~~~~~~~~~~~~~~~~~~~^^^^^^ IndexError: list index out of range ```

anyone getting this issue with the `Info` initialisation for the python sdk? ``` site-packages\hyperliquid\info.py", line 47, in __init__ base_info = spot_meta["tokens"][base] ~~~~~~~~~~~~~~~~~~~^^^^^^ IndexError: list index out of range ```