@0xsplits/splits-sdk-react
Version:
React wrapper for the 0xSplits SDK
14 lines (13 loc) • 437 B
TypeScript
import { Address } from 'viem';
export type ContractExecutionStatus = 'pendingApproval' | 'txInProgress' | 'complete' | 'error';
export type DataLoadStatus = 'success' | 'error' | 'loading';
export type RequestError = any;
export type SplitProviderSearchCacheData = {
blockRange: bigint;
controller: Address;
blocks: {
createBlock?: bigint;
updateBlock?: bigint;
latestScannedBlock: bigint;
};
};