Connection.get Programaccounts禁用了Solana上某些群集的禁用?

发布于 2025-01-28 01:17:38 字数 422 浏览 2 评论 0原文

RPC调用,connect.getProgramaccounts()似乎正在为我的本地验证器和本地部署的程序工作,但是当我尝试获取血清DEX V3的程序时,它显示了以下错误9XQEWVG816BUX9EPJHMAT23YVVM2ZWBRRPZB9PUSVFIN

error: {code: 410, message: "The RPC call or parameters have been disabled."}
code: 410
message: "The RPC call or parameters have been disabled."
id: "f4ea7d5f-5ff4-4707-a88d-94231f7c1698"
jsonrpc: "2.0"

我是做错了什么,还是这种预期的行为?

The RPC call, connection.getProgramAccounts() seems to be working for my local validator and a locally deployed program, but it shows the following error when I'm trying to fetch program accounts for Serum Dex V3, 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin.

error: {code: 410, message: "The RPC call or parameters have been disabled."}
code: 410
message: "The RPC call or parameters have been disabled."
id: "f4ea7d5f-5ff4-4707-a88d-94231f7c1698"
jsonrpc: "2.0"

Am I doing something wrong, or is this expected behaviour?s

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

权谋诡计 2025-02-04 01:17:38

不幸的是,这是正常行为。由于需要发送的大量帐户,RPC节点通常限制getProgramaccounts的使用,或者整个节点都可以落后。您有一些选择:

This is unfortunately normal behavior. Because of the large number of accounts that need to be sent back, RPC nodes typically restrict the use of getProgramAccounts, or the whole node can fall behind. You have a few options:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文