public static final class MsgGrpc.MsgBlockingStub extends io.grpc.stub.AbstractBlockingStub<MsgGrpc.MsgBlockingStub>
Msg defines the authz Msg service.
| Modifier and Type | Method and Description |
|---|---|
protected MsgGrpc.MsgBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
cosmos.authz.v1beta1.Tx.MsgExecResponse |
exec(cosmos.authz.v1beta1.Tx.MsgExec request)
Exec attempts to execute the provided messages using
authorizations granted to the grantee.
|
cosmos.authz.v1beta1.Tx.MsgGrantResponse |
grant(cosmos.authz.v1beta1.Tx.MsgGrant request)
Grant grants the provided authorization to the grantee on the granter's
account with the provided expiration time.
|
cosmos.authz.v1beta1.Tx.MsgRevokeResponse |
revoke(cosmos.authz.v1beta1.Tx.MsgRevoke request)
Revoke revokes any authorization corresponding to the provided method name on the
granter's account that has been granted to the grantee.
|
protected MsgGrpc.MsgBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<MsgGrpc.MsgBlockingStub>public cosmos.authz.v1beta1.Tx.MsgGrantResponse grant(cosmos.authz.v1beta1.Tx.MsgGrant request)
Grant grants the provided authorization to the grantee on the granter's account with the provided expiration time. If there is already a grant for the given (granter, grantee, Authorization) triple, then the grant will be overwritten.
public cosmos.authz.v1beta1.Tx.MsgExecResponse exec(cosmos.authz.v1beta1.Tx.MsgExec request)
Exec attempts to execute the provided messages using authorizations granted to the grantee. Each message should have only one signer corresponding to the granter of the authorization.
public cosmos.authz.v1beta1.Tx.MsgRevokeResponse revoke(cosmos.authz.v1beta1.Tx.MsgRevoke request)
Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.