cosmos-explorer/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts
2023-03-02 13:21:24 +08:00

22 lines
948 B
TypeScript

import { Rpc } from "../../../helpers";
import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx";
/** Msg defines the feegrant msg service. */
export interface Msg {
/**
* GrantAllowance grants fee allowance to the grantee on the granter's
* account with the provided expiration time.
*/
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
/**
* RevokeAllowance revokes any fee allowance of granter's account that
* has been granted to the grantee.
*/
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
}