Skip to content

Swap RPC call or parameters have been disabled #1

Description

I've tried running this on my own, but the swap keeps failing.
Below is the output I get:

yarn start twap --from USDC --to SOL --amount 10 --interval 10s
yarn run v1.22.17
$ node lib/index.js twap --from USDC --to SOL --amount 10 --interval 10s
12:36:18.544 - info: using wallet {MY_WALLET}
12:36:18.550 - info: update tokens accounts...
12:36:19.250 - info: twap swap of 10 from USDC to SOL every 10s ready
12:36:19.251 - info: swap starting...
/mnt/c/Users/Desktop/jup_twap/node_modules/@solana/web3.js/lib/index.cjs.js:4423
callback(new Error(${res.status} ${res.statusText}: ${text}));
^

Error: 410 Gone: {"jsonrpc":"2.0","error":{"code": 410, "message":"The RPC call or parameters have been disabled."}, "id": "e083ab01-0969-4193-86d3-ccd863a6356f" }
at ClientBrowser.callServer (/mnt/c/Users/Desktop/jup_twap/node_modules/@solana/web3.js/lib/index.cjs.js:4423:18)
at processTicksAndRejections (node:internal/process/task_queues:93:5)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions