import { BigNumber } from 'bignumber.js'; import { Token } from 'config/data'; import { TransactionWithoutGas } from 'libs/messages'; import { Wei } from 'libs/units'; export interface INode { getBalance(address: string): Promise; getTokenBalance(address: string, token: Token): Promise; getTokenBalances(address: string, tokens: Token[]): Promise; estimateGas(tx: TransactionWithoutGas): Promise; getTransactionCount(address: string): Promise; sendRawTx(tx: string): Promise; }