Add a Custom Network
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.
Code
Params
Key | Type | Description |
---|---|---|
|
| Chain ID |
|
| Network RPC Url |
|
| Chain Name |
Response
Key | Type | Description |
---|---|---|
|
| Code |
|
| Returns |
|
| Response type |
|
| Descriptive message of the result |
|
| Add Network Result Model |
Add Network Result Model
Key | Type | Description |
---|---|---|
|
| Chain ID |
|
| Network RPC Url |
|
| Chain Name |
Sample Request
Sample Response
Last updated