cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}

Parameters

Object NameRequiredTypeDetail
GRANTERStringThe address of the user granting an allowance of their funds.
GRANTEEStringThe address of the user being granted an allowance of another user's funds.
/cosmos/feegrant/v1beta1/allowance/cosmos1qcual5kgmw3gqc9q22hlp0aluc3t7rnsprewgy/cosmos1we0w0l0ascgh8xyz009ttlyjfz3fr2xf479u88

The fee granted to the grantee by the granter.

Example

Request

curl <your-rest-endpoint>/cosmos/feegrant/v1beta1/allowance/cosmos1qcual5kgmw3gqc9q22hlp0aluc3t7rnsprewgy/cosmos1we0w0l0ascgh8xyz009ttlyjfz3fr2xf479u88 \
  -X GET \
  -H "accept: application/json"

Return

{
    "allowance": {
        "granter": "cosmos1qcual5kgmw3gqc9q22hlp0aluc3t7rnsprewgy",
        "grantee": "cosmos1we0w0l0ascgh8xyz009ttlyjfz3fr2xf479u88",
        "allowance": {
            "@type": "/cosmos.feegrant.v1beta1.BasicAllowance",
            "spend_limit": [
                {
                    "denom": "uatom",
                    "amount": "78736"
                }
            ],
            "expiration": null
        }
    }
}