UNPKG

@kodex-react/ctx-ethers

Version:

Provides a React context provider for the Ethers.js library, which allows you to interact with Ethereum smart contracts.

12 lines (11 loc) 451 B
import '@kodex-data/prototypes'; import type * as T from './types'; export declare function parseErrorRegex(message: string | Error): { method: string | undefined; params: string | undefined; data: string | undefined; from: string | undefined; to: string | undefined; txJson: string | undefined; }; export declare function getRevertReason(tx: T.TransactionResponse | string, provider: T.Provider): Promise<string | undefined>;