import { Asset, Balance, Block, BlockWithTxList, Contract, GasPrice, MerkleProof, Network, Transaction } from './types'; export interface NetworkApi { getNodeCount(): Promise; getBlockHeight(): Promise; getMerkleProof({ txHash }: { txHash: string; }): Promise; getStorage({ contract, key }: { contract: string; key: string; }): Promise; getAllowance({ asset, fromAddress, toAddress }: { asset: Asset; fromAddress: string; toAddress: string; }): Promise; getAllowanceV2({ asset, fromAddress, toAddress }: { asset: Asset; fromAddress: string; toAddress: string; }): Promise; getBlock({ block }: { block: number | string; }): Promise; getTransaction({ txHash }: { txHash: string; }): Promise; getNetwork(): Promise; getBalance({ address }: { address: string; }): Promise; getBalanceV2({ address }: { address: string; }): Promise; isConnected(): Promise; getUnboundOng({ address }: { address: string; }): Promise; getContract({ hash }: { hash: string; }): Promise; getSmartCodeEvent({ value }: { value: string | number; }): Promise; getBlockHeightByTxHash({ hash }: { hash: string; }): Promise; getBlockHash({ height }: { height: number; }): Promise; getBlockTxsByHeight({ height }: { height: number; }): Promise; getGasPrice(): Promise; getGrantOng({ address }: { address: string; }): Promise; getMempoolTxCount(): Promise; getMempoolTxState({ hash }: { hash: string; }): Promise; getVersion(): Promise; }