@gear-js/react-hooks
Version:
React hooks used across Gear applications
11 lines (10 loc) • 452 B
TypeScript
import { HexString } from '@gear-js/api';
declare function useIsVoucherExists(programId: HexString | undefined, accountAddress: HexString | undefined): {
isVoucherExists: boolean | undefined;
isVoucherExistsReady: boolean;
};
declare function useIsAccountVoucherExists(programId: HexString | undefined): {
isVoucherExists: boolean | undefined;
isVoucherExistsReady: boolean;
};
export { useIsVoucherExists, useIsAccountVoucherExists };