Transactions
Cosmos-SDK Fee Grant module transactions commands
The tx commands allow users to interact with the feegrant module.
sged tx feegrant --helpGrant
The grant command allows users to grant fee allowances to another account. The fee allowance can have an expiration date, a total spend limit, and/or a periodic spend limit.
sged tx feegrant grant [granter] [grantee] [flags]Example (one-time spend limit):
sged tx feegrant grant sge1.. sge1.. --spend-limit 100usgeExample (periodic spend limit):
sged tx feegrant grant sge1.. sge1.. --period 3600 --period-limit 10usgeRevoke
The revoke command allows users to revoke a granted fee allowance.
sged tx feegrant revoke [granter] [grantee] [flags]Example:
sged tx feegrant revoke sge1.. sge1.For detailed information see the original document.
Last updated