UNPKG

@ledgerhq/coin-hedera

Version:
34 lines 1.52 kB
import BigNumber from "bignumber.js"; import { type HederaCoinConfig } from "../config"; import type { ERC20TokenAccount, ERC20TokenTransfer } from "../types/hgraph"; declare function getLatestIndexedConsensusTimestamp({ configOrCurrencyId, }: { configOrCurrencyId: HederaCoinConfig | string; }): Promise<BigNumber>; declare function getERC20Balances({ configOrCurrencyId, address, }: { configOrCurrencyId: HederaCoinConfig | string; address: string; }): Promise<ERC20TokenAccount[]>; declare function getERC20Transfers({ configOrCurrencyId, address, tokenEvmAddresses, timestamp, limit, order, fetchAllPages, }: { configOrCurrencyId: HederaCoinConfig | string; address: string; tokenEvmAddresses: string[]; fetchAllPages: boolean; timestamp?: string; limit?: number; order?: "asc" | "desc"; }): Promise<ERC20TokenTransfer[]>; declare function getERC20TransfersByTimestampRange({ configOrCurrencyId, startTimestamp, endTimestamp, order, limit, }: { configOrCurrencyId: HederaCoinConfig | string; startTimestamp: string; endTimestamp: string; order?: "asc" | "desc"; limit?: number; }): Promise<ERC20TokenTransfer[]>; export declare const hgraphClient: { getLatestIndexedConsensusTimestamp: typeof getLatestIndexedConsensusTimestamp; getERC20Balances: typeof getERC20Balances; getERC20Transfers: typeof getERC20Transfers; getERC20TransfersByTimestampRange: typeof getERC20TransfersByTimestampRange; }; export {}; //# sourceMappingURL=hgraph.d.ts.map