请帮助,我一直在尝试执行这个脚本(链接下面),以获得NFT薄荷地址。不幸的是,无论我使用哪台糖果机器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.
发布于 2022-05-19 13:53:07
不同的RPC将不允许RPC调用getProgramAccounts
,因为它对RPC基础结构非常昂贵。
您正在遇到410 gone
,因为您所点击的RPC已经删除了它
https://stackoverflow.com/questions/72302043
复制相似问题