UNPKG

evm-blockchain-tools

Version:

This is a collection of resuseable tools to support development for EVM-powered blockchains

12 lines (11 loc) 550 B
import { ethers } from "ethers"; import { IWeb3Gateway } from "../common/interfaces"; export declare class BlockchainService { protected provider: IWeb3Gateway; constructor(provider: IWeb3Gateway); getBlock(blockNum: number): Promise<ethers.providers.Block>; parseERC20TxByNetwork(data: string, value: any, txId?: string): Promise<Partial<ethers.utils.TransactionDescription>>; getFeeData(): Promise<any>; recoverMessageSigner(message: string, signature: string): string; getTransactionById(txID: string): Promise<any>; }