Get Account Info
Once your web application successfully connects to Adena, in most cases, you would first want to get information about the connected account. Use the getAccount
method to receive a series of data about the account including its address, balance, public key, account number, and sequence.
Code
Params
Key | Type | Description |
---|---|---|
- | - | - |
Response
Key | Type | Description |
---|---|---|
|
| Numeric result code |
|
| Returns |
|
| Response type |
|
| Descriptive message of the result |
|
| Account Model |
Account Model
Key | Type | Description |
---|---|---|
|
| Account number |
|
| Account address |
|
| Account balance |
|
| Current chain's Chain ID |
|
| Number of transactions signed by the account |
|
| Returns |
|
| Public key type |
|
| Public key value |
Sample Request
Sample Response
Last updated