There is a 403 forbidden error when calling a SolanaClient function to the mainnet-beta.
Someone said that "the public mainnet beta endpoints block requests with a CORS header, meaning requests from a browser". having SolanaClient static turned out to be a challenge. There is an option to have poll timers for the client, try fetch API and poll timers or force SolanaClient to be in scene tree to work.
There is a 403 forbidden error when calling a SolanaClient function to the mainnet-beta.
Someone said that "the public mainnet beta endpoints block requests with a CORS header, meaning requests from a browser". having SolanaClient static turned out to be a challenge. There is an option to have poll timers for the client, try fetch API and poll timers or force SolanaClient to be in scene tree to work.