Error: Unknown fields "coinsToSpend" on type "Query" did you mean "resourcesToSpend"

I’m trying to deploy a contract and I am running into the error:

Unknown fields “coinsToSpend” on type “Query” did you mean “resourcesToSpend”

How do I fix this?

1 Like

this is due to a version mismatch. Please install and use the toolchain for beta-1 or beta-2 respectively.

You can do that following these instructions:

  1. Make sure you are on the latest fuelup version with the following command: fuelup self update
  2. Run the following command to install the toolchain: fuelup toolchain install beta-1

Check out the docs for fuelup here: Introduction - fuelup

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.