UsageHooks
useChainId
Returns
chainId:number- Current chain IDsetChainId:(chainId: number) => void- Function to update the chain ID
If you need more help, explore our other articles or reach out to our support team via chat or email support@avacloud.io. All examples provided are for demonstration purposes only.
Learn More About AvaCloud | Download Case Studies | Schedule an AvaCloud Demo