ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y agoโ€ข
1 reply
jan

Ethereum gateway 403

Is anyone using ethers.js successfully with an Ethereum gateway? I just created a new Web3 gateway but getting a 403 error when doing this:

import { JsonRpcProvider } from 'ethers';

const cloudflareEndpoint = 'https://web3.example.com';
const provider = new JsonRpcProvider(cloudflareEndpoint);

const name = await provider.lookupAddress('0x...');
import { JsonRpcProvider } from 'ethers';

const cloudflareEndpoint = 'https://web3.example.com';
const provider = new JsonRpcProvider(cloudflareEndpoint);

const name = await provider.lookupAddress('0x...');
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Ethereum gateway status after IPFS gateway deprecation?
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
ethereum internal error eth_getBlockByNumber
Cloudflare DevelopersCDCloudflare Developers / general-help
16mo ago
403
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
403 error
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago