Module accounts

ModuleAccounts returns all the existing module accounts.

get

Since: cosmos-sdk 0.46

Responses
200
A successful response.
application/json
get
GET /cosmos/auth/v1beta1/module_accounts HTTP/1.1
Host: coreum.nownodes.io
Accept: */*
{
  "accounts": [
    {
      "@type": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ]
}

ModuleAccountByName returns the module account info by module name

get
Path parameters
namestringRequired
Responses
200
A successful response.
application/json
get
GET /cosmos/auth/v1beta1/module_accounts/{name} HTTP/1.1
Host: coreum.nownodes.io
Accept: */*
{
  "account": {
    "@type": "text",
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}