Establish Connection

For a web application to send requests by using functions available on Adena, it must establish a connection with the account with the AddEstablish method. Once the user approves the connection, the domain will be added to a locally-stored whitelist.

The application will encounter Error 1000 if it attempts to use a function without having established a connection.

Code

adena.AddEstablish("name")

Params

Response

Sample Request

//the name string will be displayed on the connection pop-up
adena.AddEstablish("adena")

Sample Response

{
    "code": 0,
    "status": "success",
    "type": "CONNECTION_SUCCESS",
    "message": "The connection has been successfully established.",
    "data": {}
}

Last updated