Switch Network
A web application may request Adena to switch the current network settings to a new one via the SwitchNetwork
method. Upon the user's approval, Adena will switch the network to the one requested by the app.
Code
Params
Key | Type | Description |
---|---|---|
|
| Chain ID |
Response
Key | Type | Description |
---|---|---|
|
| Code |
|
| Returns |
|
| Response type |
|
| Descriptive message of the result |
|
| Switch Network Result Model |
Switch Network Result Model
Key | Type | Description |
---|---|---|
|
| Chain ID |
Sample Request
Sample Response
Last updated