Migrate to the Cloud portal
For users on Solana
Portal is currently in beta. Please report any bugs or suggestions to the SQD Portal Beta chat or to Squid Devs.
We’re currently experimenting with tightening the data request complexity limits. If you see an HTTP 400 error with a message like this:where
X is some number above 50, or any other HTTP 400 response, please let us know.Step 0: Procur a portal endpoint URL
You wantStep 1: Install @portal-api packages
A. Enter your squid’s folder. B. Remove both your lock file and thenode_modules folder:
@portal-api version to it:
@portal-api packages by removing any version range specifiers (^, ~, <, >, >=, <=) preceding the package versions. Here’s a script:
Step 2: Update your code
A. Replace all exising data sources with the portal:SolanaRpcClient, for example:
slot field of block headers anywhere in your code, replace it with .number:
.setFields call:
Step 3: testing
We highly recommend that all Portal Beta users test their migrated squids by re-syncing them. This will allow you to make sure that everything works as expected for the whole length of the chain and catch any bugs early. To resync your squid, follow the zero-downtime update procedure:- Deploy your squid into a new slot.
- Wait for it to sync, observing the improved data fetching.
- Assign your production tag to the new deployment to redirect the GraphQL requests there.

