Account info

AccountInfo queries account info which is common to all account types.

Since: cosmos-sdk 0.47

GEThttps://inj.nownodes.io/cosmos/auth/v1beta1/account_info/{address}
Path parameters
address*string

address is the account address string.

Response

A successful response.

Body
infoobject

info is the account info which is represented by BaseAccount.

Request
const response = await fetch('https://inj.nownodes.io/cosmos/auth/v1beta1/account_info/{address}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "info": {
    "address": "text",
    "pub_key": {
      "type_url": "text",
      "value": "Ynl0ZXM="
    },
    "account_number": "text",
    "sequence": "text"
  }
}