Skip to main content
Glama
tx.rpc.msg.d.ts1.4 kB
import { Rpc } from "../../../helpers"; import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; /** Msg defines the authz Msg service. */ export interface Msg { /** * 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. */ grant(request: MsgGrant): Promise<MsgGrantResponse>; /** * 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. */ exec(request: MsgExec): Promise<MsgExecResponse>; /** * Revoke revokes any authorization corresponding to the provided method name on the * granter's account that has been granted to the grantee. */ revoke(request: MsgRevoke): Promise<MsgRevokeResponse>; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); grant(request: MsgGrant): Promise<MsgGrantResponse>; exec(request: MsgExec): Promise<MsgExecResponse>; revoke(request: MsgRevoke): Promise<MsgRevokeResponse>; } export declare const createClientImpl: (rpc: Rpc) => MsgClientImpl;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server