BlockPI Network
Search
⌃K

/cosmos/auth/v1beta1/module_accounts/{name}

ModuleAccountByName returns the module account info by module name

Parameters:

name-string

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain-athens.blockpi.network/lcd/v1/<your-api-key>/cosmos/auth/v1beta1/module_accounts/bonded_tokens_pool
​
// Result
{
"account": {
"@type": "/cosmos.auth.v1beta1.ModuleAccount",
"base_account": {
"address": "zeta1fl48vsnmsdzcv85q5d2q4z5ajdha8yu3rl86r8",
"pub_key": null,
"account_number": "36",
"sequence": "0"
},
"name": "bonded_tokens_pool",
"permissions": [
"burner",
"staking"
]
}
}