Retrive Gateway Config
ArConnect Injected API getArweaveConfig() function
It can be useful to know what Arweave gateway the extension uses for your application. You can set this when connecting your application to ArConnect, but the user can always update it later. Using the getArweaveConfig()
, you can make sure your application works, no matter what gateway the extension uses.
Note: This function requires the ACCESS_ARWEAVE_CONFIG
permission.
Example usage
Last updated