// @flow import Big from 'bignumber.js'; import type { TransactionWithoutGas } from 'libs/messages'; import type { Token } from 'config/data'; 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 }