cosmos/auth/v1beta1/accounts/{address}

Parameters

Object NameRequiredTypeDetail
ADDRESSStringAddress to query for.
/cosmos/auth/v1beta1/accounts/cosmos1sd4tl9aljmmezzudugs7zlaya7pg2895tyn79r

Result

Example

Request

curl <your-rest-endpoint>/cosmos/auth/v1beta1/accounts/cosmos1sd4tl9aljmmezzudugs7zlaya7pg2895tyn79r \
  -X GET \
  -H "accept: application/json"

Return

{
  "account": {
    "@type": "/cosmos.auth.v1beta1.BaseAccount",
    "address": "cosmos1sd4tl9aljmmezzudugs7zlaya7pg2895tyn79r",
    "pub_key": {
      "@type": "/cosmos.crypto.secp256k1.PubKey",
      "key": "A9ZywbkMhNnZdSLppzJSpDK3fZCni/gc2+NScNnT3Bw0"
    },
    "account_number": "12855",
    "sequence": "1263"
  }
}