firma-js-chain-2.0
Version:
The Official FirmaChain Javascript SDK written in Typescript
18 lines (17 loc) • 592 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 _axios;
constructor(baseUrl: string);
getGranteeAllowance(granterAddress: string, granteeAddress: string): Promise<FeeAllowanceType1>;
getGranteeAllowanceAll(granteeAddress: string): Promise<FeeAllowanceType[]>;
}