An instance of the Provider
class lets you connect to a Fuel node. It provides read-only access to the blockchain state. You can use this provider as-is or through a Wallet
instance.
const provider = await Provider.create(FUEL_NETWORK_URL);
const { consensusParameters } = await provider.getChain();
Was this page helpful?