UNPKG

pulsar_sdk_js

Version:

A convenient way for you to interact with Pulsar's Third Party APIs, using typified classes.

11 lines (10 loc) 657 B
import WebsocketClient from "./base"; import { TierKeys } from "../data/constants/enums"; import { Timeseries, WalletNFTs, WalletTokens, WalletIntegrations, WalletRequestSettings } from "../data/dataclasses/schema"; declare class WalletBalancesClient { private websocketClient; constructor(wsClient: WebsocketClient); getWalletBalances(walletAddr: string, chain: string, options?: WalletRequestSettings): AsyncGenerator<WalletIntegrations | WalletNFTs | WalletTokens>; getWalletTimeseries(walletAddr: string, chain: string, tier: TierKeys, options?: WalletRequestSettings): AsyncGenerator<Timeseries>; } export default WalletBalancesClient;