Issued

AllowancesByGranter returns all the grants given by an address

Since: cosmos-sdk 0.46

GEThttps://coreum.nownodes.io/cosmos/feegrant/v1beta1/issued/{granter}
Path parameters
granter*string
Query parameters
Response

A successful response.

Body
allowancesarray of Grant is stored in the KVStore to record a grant with full context

allowances that have been issued by the granter.

paginationcosmos.base.query.v1beta1.PageResponse (object)

PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.

message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }

Request
const response = await fetch('https://coreum.nownodes.io/cosmos/feegrant/v1beta1/issued/{granter}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "allowances": [
    {
      "granter": "text",
      "grantee": "text",
      "allowance": {
        "@type": "text"
      }
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}