@smartinvoicexyz/hooks
Version:
Unified source for React hooks used across the Smart Invoice protocol.
17 lines (16 loc) • 430 B
TypeScript
import { Hex } from 'viem';
export declare const useInstantDetails: ({ address, chainId, enabled, }: {
address: Hex | undefined;
chainId: number | undefined;
enabled?: boolean;
}) => {
data: {
totalDue: bigint;
amountFulfilled: bigint;
fulfilled: boolean;
deadline: bigint;
lateFee: bigint;
lateFeeTimeInterval: bigint;
} | undefined;
isLoading: boolean;
};