Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/auth/v1beta1/address_by_id/{id}

Path Parameters

id*string

Deprecated, use account_id instead

id is the account number of the address to be queried. This field should have been an uint64 (like all account numbers), and will be updated to uint64 in a future version of the auth query.

Formatint64

Query Parameters

account_id?string

account_id is the account number of the address to be queried.

Formatuint64

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/auth/v1beta1/address_by_id/string"
{
  "account_address": "string"
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}