getNetworks
Returns the networks the wallet provider has available to connect to, along with the default network the wallet is currently set to.
Input Arguments
None
Success Response
Parameter
Description
networks: string[]
Array of network names the wallet provider has available for the dapp developer to connect to
defaultNetwork: string
Network the wallet is currently set to
Error Response
Parameter
Description
type: string
The type of error which has occured
description: string
A description of the error which has occured
data: string
Any raw data associated with the error
Example
Request
Response
最后更新于