_getAccountsByAddress

Returns account details based on address.

Parameters

  • address: STRING - The address to query for.
curl https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/auth/v1beta1/accounts/cosmos1y2pyypvvyx38lzpechma9js7gchqu39zwpwu3u \
--header "x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"

Returns

  • OBJECT - Address Information
{
  "account": {
    "@type": "/cosmos.auth.v1beta1.BaseAccount",
    "address": "cosmos1y2pyypvvyx38lzpechma9js7gchqu39zwpwu3u",
    "pub_key": {
      "@type": "/cosmos.crypto.secp256k1.PubKey",
      "key": "A9A4xcsIyoiHcabjrCjWB9cnM7ULzKJaIAevzIg9VKuP"
    },
    "account_number": "541411",
    "sequence": "1"
  }
}

Try Yourself

Language
Click Try It! to start a request and see the response here!