A successful response.
Permissions are the permissions that an account has to trip or reset the circuit breaker.
const response = await fetch('https://tia-rest.nownodes.io/cosmos/circuit/v1/accounts/{address}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "permission": { "level": "LEVEL_NONE_UNSPECIFIED", "limit_type_urls": [ "text" ] } }
pagination defines the pagination in the response.
const response = await fetch('https://tia-rest.nownodes.io/cosmos/circuit/v1/accounts', { method: 'GET', headers: {}, }); const data = await response.json();
{ "accounts": [ { "address": "text", "permissions": { "level": "LEVEL_NONE_UNSPECIFIED", "limit_type_urls": [ "text" ] } } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }