UNPKG

@bloom-trade/finance-connector

Version:

Is a package entended to be used with multiple web3 and web2 providers to interact with blockchains.

30 lines (29 loc) 886 B
import { ProviderConnector } from '../connector'; import { IProviderConnector } from '../../@types/index'; import { Chain, Provider } from '@bloom-trade/types'; export declare class ProviderConnectorImpl extends ProviderConnector implements IProviderConnector { getBalance(): Promise<{ asset: string; balance: string; description: string; detail: { address: string; provider: string; chain: string; balance: string; }[]; }[]>; getTransactionHistory(filters: { from: 'beginning' | { selfCustodialProviders?: { chain: Chain; block: number; }[]; custodialProviders?: { id: Provider; block?: number; date: number; }[]; }; }): Promise<any>; }