首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >错误: 410已消失:“RPC调用或参数已被禁用。”

错误: 410已消失:“RPC调用或参数已被禁用。”
EN

Stack Overflow用户
提问于 2022-05-19 09:30:47
回答 1查看 434关注 0票数 1

请帮助,我一直在尝试执行这个脚本(链接下面),以获得NFT薄荷地址。不幸的是,无论我使用哪台糖果机器v1或v2,我都会收到这个错误。

https://solanacookbook.com/references/nfts.html#how-to-get-nft-mint-addresses

代码语言:javascript
运行
复制
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
(node:11240) UnhandledPromiseRejectionWarning: Error: 410 Gone:  {"jsonrpc":"2.0","error":{"code": 410, "message":"The RPC call or parameters have been disabled."}, "id": "3bc319ad-c4e0-45a4-b4bf-c1009ce99851" }

    at ClientBrowser.callServer (C:\Users\mlvie\Desktop\ranking projects\test4\node_modules\@solana\web3.js\lib\index.cjs.js:4819:18)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:11240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
EN

Stack Overflow用户

回答已采纳

发布于 2022-05-19 13:53:07

不同的RPC将不允许RPC调用getProgramAccounts,因为它对RPC基础结构非常昂贵。

您正在遇到410 gone,因为您所点击的RPC已经删除了它

票数 4
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72302043

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档