Allowance

Allowance returns granted allwance to the grantee by the granter.

GEThttps://band-rest.nownodes.io/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}
Path parameters
granter*string

granter is the address of the user granting an allowance of their funds.

grantee*string

grantee is the address of the user being granted an allowance of another user's funds.

Response

A successful response.

Body
allowanceGrant is stored in the KVStore to record a grant with full context

allowance is a allowance granted for grantee by granter.

Request
const response = await fetch('https://band-rest.nownodes.io/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "allowance": {
    "granter": "text",
    "grantee": "text",
    "allowance": {
      "type_url": "text",
      "value": "Ynl0ZXM="
    }
  }
}

Last updated