Pass fetch options to browser providers #3895
Labels
enhancement
New feature or improvement.
minor-bump
Planned for the next minor version bump.
next-patch
Issues scheduled for the next arch release.
on-deck
This Enhancement or Bug is currently being worked on.
v6
Issues regarding v6
Describe the Feature
Currently when communicating with RPC endpoints (or gateways) additional fetch options are not able to be passed in:
ethers.js/src.ts/utils/geturl-browser.ts
Line 49 in 278f841
For instance, cors or credentials (fetch
credentials
vs Authorization header) options.Code Example
The text was updated successfully, but these errors were encountered: