@firmachain/firma-js
Version:
The Official FirmaChain Javascript SDK written in Typescript
18 lines (17 loc) • 583 B
TypeScript
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
export interface FeeAllowanceType {
granter: string;
grantee: string;
allowance: FeeAllowanceType1;
}
export interface FeeAllowanceType1 {
"@type": string;
spendLimit: Coin[];
expiration: Date | undefined;
}
export declare class FeeGrantQueryClient {
private readonly axios;
constructor(baseUrl: string);
getGranteeAllowance(granterAddress: string, granteeAddress: string): Promise<FeeAllowanceType1>;
getGranteeAllowanceAll(granteeAddress: string): Promise<FeeAllowanceType[]>;
}