@pushchain/ui-kit
Version:
Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.
8 lines (7 loc) • 344 B
TypeScript
type Waap = {
on: (event: string, cb: (data: any) => void) => void;
off?: (event: string, cb: (data: any) => void) => void;
};
export declare const ensureWaapTxListeners: (waap: Waap) => void;
export declare const waitForTxHashFromPendingTxId: (waap: Waap, pendingTxId: string, timeoutMs?: number) => Promise<`0x${string}`>;
export {};