import { OrderSide, OrderStatus, OrderType, PositionStatus, TickerType, TradingRewardAggregationPeriod } from '../constants'; import { Data } from '../types'; import RestClient from './rest'; /** * @description REST endpoints for data related to a particular address. */ export default class AccountClient extends RestClient { getSubaccounts(address: string, limit?: number): Promise; getSubaccount(address: string, subaccountNumber: number): Promise; getParentSubaccount(address: string, parentSubaccountNumber: number): Promise; getSubaccountPerpetualPositions(address: string, subaccountNumber: number, status?: PositionStatus | null, limit?: number | null, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null): Promise; getSubaccountAssetPositions(address: string, subaccountNumber: number, status?: PositionStatus | null, limit?: number | null, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null): Promise; getTransfersBetween(sourceAddress: string, sourceSubaccountNumber: string, recipientAddress: string, recipientSubaccountNumber: string, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null): Promise; getSubaccountTransfers(address: string, subaccountNumber: number, limit?: number | null, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, page?: number | null): Promise; getParentSubaccountNumberTransfers(address: string, parentSubaccountNumber: number, limit?: number | null, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, page?: number | null): Promise; getSubaccountOrders(address: string, subaccountNumber: number, ticker?: string | null, tickerType?: TickerType, side?: OrderSide | null, status?: OrderStatus | null, type?: OrderType | null, limit?: number | null, goodTilBlockBeforeOrAt?: number | null, goodTilBlockTimeBeforeOrAt?: string | null, returnLatestOrders?: boolean | null): Promise; getParentSubaccountNumberOrders(address: string, parentSubaccountNumber: number, ticker?: string | null, side?: OrderSide | null, status?: OrderStatus | null, type?: OrderType | null, limit?: number | null, goodTilBlockBeforeOrAt?: number | null, goodTilBlockTimeBeforeOrAt?: string | null, returnLatestOrders?: boolean | null): Promise; getOrder(orderId: string): Promise; getSubaccountFills(address: string, subaccountNumber: number, ticker?: string | null, tickerType?: TickerType, limit?: number | null, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, page?: number | null): Promise; getParentSubaccountNumberFills(address: string, parentSubaccountNumber: number, ticker?: string | null, tickerType?: TickerType, limit?: number | null, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, page?: number | null): Promise; getSubaccountHistoricalPNLs(address: string, subaccountNumber: number, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, createdOnOrAfterHeight?: number | null, createdOnOrAfter?: string | null, limit?: number | null, page?: number | null): Promise; getParentSubaccountNumberHistoricalPNLs(address: string, parentSubaccountNumber: number, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, createdOnOrAfterHeight?: number | null, createdOnOrAfter?: string | null, limit?: number | null, page?: number | null): Promise; getSubaccountHistoricalPNLsV2(address: string, subaccountNumber: number, daily?: boolean, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, createdOnOrAfterHeight?: number | null, createdOnOrAfter?: string | null, limit?: number | null, page?: number | null): Promise; getParentSubaccountNumberHistoricalPNLsV2(address: string, parentSubaccountNumber: number, daily?: boolean, createdBeforeOrAtHeight?: number | null, createdBeforeOrAt?: string | null, createdOnOrAfterHeight?: number | null, createdOnOrAfter?: string | null): Promise; getHistoricalTradingRewardsAggregations(address: string, period: TradingRewardAggregationPeriod, limit?: number, startingBeforeOrAt?: string, startingBeforeOrAtHeight?: string): Promise; getHistoricalBlockTradingRewards(address: string, limit?: number, startingBeforeOrAt?: string, startingBeforeOrAtHeight?: string): Promise; getSubaccountFundingPayments(address: string, subaccountNumber: number, limit?: number, ticker?: string, afterOrAt?: string, page?: number): Promise; getParentSubaccountNumberFundingPayments(address: string, parentSubaccountNumber: number, limit?: number, ticker?: string, afterOrAt?: string, page?: number): Promise; getSubaccountTradeHistory(address: string, subaccountNumber: number, market?: string, marketType?: string, limit?: number, page?: number): Promise; getParentSubaccountNumberTradeHistory(address: string, parentSubaccountNumber: number, market?: string, marketType?: string, limit?: number, page?: number): Promise; } //# sourceMappingURL=account.d.ts.map