Granter

GranterGrants returns list of `GrantAuthorization`, granted by granter.

Since: cosmos-sdk 0.46

GEThttps://inj.nownodes.io/cosmos/authz/v1beta1/grants/granter/{granter}
Path parameters
granter*string
Query parameters
Response

A successful response.

Body
grantsarray of GrantAuthorization extends a grant with both the addresses of the grantee and granter. It is used in genesis.proto and query.proto

grants is a list of grants granted by the granter.

paginationobject

pagination defines an pagination for the response.

Request
const response = await fetch('https://inj.nownodes.io/cosmos/authz/v1beta1/grants/granter/{granter}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "grants": [
    {
      "granter": "text",
      "grantee": "text",
      "authorization": {
        "type_url": "text",
        "value": "Ynl0ZXM="
      },
      "expiration": "2024-12-22T02:19:57.907Z"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}