Optional
allowfalse
Optional
allowBy default we will only connect to peers with public or DNS addresses, pass true to also connect to private addresses.
false
Optional
transformProvide a function that will be called before querying trustless-gateways. This lets you modify the fetch options to pass custom headers or other necessary things.
By default we will only connect to peers with HTTPS addresses, pass true to also connect to HTTP addresses.