import { AlgoAccount, AlgoTransactionParams } from "./algodv2.types"; import { broadcastTransaction, getAccount, getTransactionParams } from "./algodv2"; import { getAccountTransactions } from "./indexer"; import { AlgoTransaction } from "./indexer.types"; export * from "./algodv2.types"; export * from "./indexer.types"; export default { getAccount: async (address: string): Promise => getAccount(address), getTransactionParams: async (): Promise => getTransactionParams(), broadcastTransaction: async (payload: Buffer): Promise => broadcastTransaction(payload), getAccountTransactions: async (address: string, startAt?: number): Promise => getAccountTransactions(address, startAt), };