UNPKG

@tan_hoang/test2

Version:
28 lines (27 loc) 806 B
import { TransactionRequest as EthersTransactionRequest } from "ethers6"; export type EthersExternalProvider = { isMetaMask?: boolean; isStatus?: boolean; host?: string; path?: string; sendAsync?: (request: { method: string; params?: Array<any>; }, callback: (error: any, response: any) => void) => void; send?: (request: { method: string; params?: Array<any>; }, callback: (error: any, response: any) => void) => void; request?: (request: { method: string; params?: Array<any>; }) => Promise<any>; }; export interface TransactionRequest extends EthersTransactionRequest { txSignatures?: any[]; feePayer?: string; feePayerSignatures?: any[]; } export interface ExternalProvider { isKaikas?: boolean; }