gpt4 book ai didi

web3js - 错误: 410 Gone: "The RPC call or parameters have been disabled."

转载 作者:行者123 更新时间:2023-12-02 18:11:21 27 4
gpt4 key购买 nike

我一直在尝试执行这个脚本(下面的链接)来获取 NFT Mint 地址。不幸的是,无论我使用哪种糖果机 v1 或 v2,我总是会收到此错误。

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

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.

最佳答案

不同的 RPC 不会允许 RPC 调用 getProgramAccounts,因为这对 RPC 基础设施来说非常昂贵

您遇到了 410 gone,因为无论您使用的 RPC 已将其删除

关于web3js - 错误: 410 Gone: "The RPC call or parameters have been disabled.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72302043/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com