Transactions

Cosmos-SDK Auth module transactions commands

Deposit Grant

To allow a grantee to deposit on behalf of the granter

sged tx authz grant [grantee address] generic --msg-type=/sgenetwork.sge.house.MsgDeposit --from [granter address] --chain-id [chain id] -y

Withdraw Grant

To allow a grantee to withdraw on behalf of the granter

sged tx authz grant [grantee address] generic --msg-type=/sgenetwork.sge.house.MsgWithdraw --from [granter address] --chain-id [chain id] -y

Restrictions

The CLI is not able to set any constraints for the deposit and withdrawal grant, So if setting the spend_limit is demanded, it should be done by a golang client programmatically.

for detailed information see the original document.

Last updated