interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
27 lines (26 loc) • 1.32 kB
TypeScript
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
/**
* Returns list of `Authorization`, granted to the grantee by the granter.
* @name getGrants
* @package cosmos.authz.v1beta1
* @see proto service: cosmos.authz.v1beta1.Grants
*/
export declare const getGrants: (client: import("../../../helper-func-types").EndpointOrRpc, request: QueryGrantsRequest) => Promise<QueryGrantsResponse>;
/**
* GranterGrants returns list of `GrantAuthorization`, granted by granter.
*
* Since: cosmos-sdk 0.46
* @name getGranterGrants
* @package cosmos.authz.v1beta1
* @see proto service: cosmos.authz.v1beta1.GranterGrants
*/
export declare const getGranterGrants: (client: import("../../../helper-func-types").EndpointOrRpc, request: QueryGranterGrantsRequest) => Promise<QueryGranterGrantsResponse>;
/**
* GranteeGrants returns a list of `GrantAuthorization` by grantee.
*
* Since: cosmos-sdk 0.46
* @name getGranteeGrants
* @package cosmos.authz.v1beta1
* @see proto service: cosmos.authz.v1beta1.GranteeGrants
*/
export declare const getGranteeGrants: (client: import("../../../helper-func-types").EndpointOrRpc, request: QueryGranteeGrantsRequest) => Promise<QueryGranteeGrantsResponse>;