Add a Custom Network
Last updated
Last updated
A web application may request Adena to add a custom Gnoland network to Adena via the AddNetwork
method. Upon the user's approval, the network will be added to the list of available networks on the Change Network page in the Settings menu.
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
network.chainId
string
Chain ID
network.rpcUrl
string
Network RPC Url
network.chainName
string
Chain Name
code
number
Code (success: 0)
status
string
Returns success
or failure
type
string
Response type
message
string
Descriptive message of the result
data
object
Add Network Result Model
chainId
string
Chain ID
rpcUrl
string
Network RPC Url
chainName
string
Chain Name