/** * Sichain API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 0.0.5 * * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. */ /// import { Configuration } from "./configuration"; /** * * @export */ export declare const COLLECTION_FORMATS: { csv: string; ssv: string; tsv: string; pipes: string; }; /** * * @export * @interface FetchAPI */ export interface FetchAPI { (url: string, init?: any): Promise; } /** * * @export * @interface FetchArgs */ export interface FetchArgs { url: string; options: any; } /** * * @export * @class BaseAPI */ export declare class BaseAPI { protected basePath: string; protected fetch: FetchAPI; protected configuration: Configuration; constructor(configuration?: Configuration, basePath?: string, fetch?: FetchAPI); } /** * * @export * @class RequiredError * @extends {Error} */ export declare class RequiredError extends Error { field: string; name: "RequiredError"; constructor(field: string, msg?: string); } /** * * @export * @interface ExternalAsset */ export interface ExternalAsset { /** * * @type {string} * @memberof ExternalAsset */ symbol?: string; /** * * @type {string} * @memberof ExternalAsset */ balance?: string; } /** * * @export * @interface GetAssetsResponse */ export interface GetAssetsResponse { /** * * @type {string} * @memberof GetAssetsResponse */ symbol?: string; /** * Full name of cryptocurrency. * @type {string} * @memberof GetAssetsResponse */ name?: string; /** * Identifies whether withdrawals are enabled or disabled. * @type {boolean} * @memberof GetAssetsResponse */ canWithdraw?: boolean; /** * Identifies whether deposits are enabled or disabled. * @type {boolean} * @memberof GetAssetsResponse */ canDeposit?: boolean; } /** * * @export * @interface GetCirculatingSupplyResponse */ export interface GetCirculatingSupplyResponse { /** * * @type {string} * @memberof GetCirculatingSupplyResponse */ denom?: string; /** * * @type {string} * @memberof GetCirculatingSupplyResponse */ amount?: string; } /** * * @export * @interface GetDailyPriceResponse */ export interface GetDailyPriceResponse { /** * * @type {string} * @memberof GetDailyPriceResponse */ tickerid?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ baseCurrency?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ targetCurrency?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ lastPrice?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ baseVolume?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ targetVolume?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ bid?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ ask?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ high?: string; /** * * @type {string} * @memberof GetDailyPriceResponse */ low?: string; } /** * * @export * @interface GetDelegatorResponse */ export interface GetDelegatorResponse { /** * * @type {string} * @memberof GetDelegatorResponse */ validatorAddress?: string; /** * * @type {string} * @memberof GetDelegatorResponse */ validatorName?: string; /** * * @type {string} * @memberof GetDelegatorResponse */ delegationTotal?: string; /** * * @type {string} * @memberof GetDelegatorResponse */ unclaimedRewards?: string; /** * * @type {boolean} * @memberof GetDelegatorResponse */ isSlashed?: boolean; /** * Validator uptime percentage over last 30 days * @type {string} * @memberof GetDelegatorResponse */ performance?: string; } /** * * @export */ export declare type GetDelegatorsResponse = Array; /** * * @export * @interface GetDelegatorsResponseInner */ export interface GetDelegatorsResponseInner { /** * * @type {string} * @memberof GetDelegatorsResponseInner */ delegatorAddress?: string; /** * * @type {string} * @memberof GetDelegatorsResponseInner */ delegationTotal?: string; } /** * * @export * @interface GetHistoricalPriceResponse */ export interface GetHistoricalPriceResponse { /** * Unix timestamp in milliseconds. * @type {number} * @memberof GetHistoricalPriceResponse */ timestamp?: number; /** * * @type {string} * @memberof GetHistoricalPriceResponse */ priceInRowan?: string; /** * * @type {string} * @memberof GetHistoricalPriceResponse */ priceInUSDC?: string; } /** * * @export * @interface GetInactiveValidatorsResponse */ export interface GetInactiveValidatorsResponse { /** * * @type {string} * @memberof GetInactiveValidatorsResponse */ inactiveValidator?: string; } /** * * @export * @interface GetLiquidityProviderResponse */ export interface GetLiquidityProviderResponse { /** * * @type {GetLiquidityProvidersResponse} * @memberof GetLiquidityProviderResponse */ liquidityProvider?: GetLiquidityProvidersResponse; /** * * @type {ExternalAsset} * @memberof GetLiquidityProviderResponse */ externalAsset?: ExternalAsset; /** * * @type {NativeAsset} * @memberof GetLiquidityProviderResponse */ nativeAsset?: NativeAsset; /** * * @type {string} * @memberof GetLiquidityProviderResponse */ height?: string; } /** * * @export * @interface GetLiquidityProvidersResponse */ export interface GetLiquidityProvidersResponse { /** * * @type {string} * @memberof GetLiquidityProvidersResponse */ units?: string; /** * * @type {string} * @memberof GetLiquidityProvidersResponse */ address?: string; } /** * * @export * @interface GetNetworkResponse */ export interface GetNetworkResponse { /** * * @type {string} * @memberof GetNetworkResponse */ totalRowanStaked?: string; /** * * @type {string} * @memberof GetNetworkResponse */ totalUSDStaked?: string; /** * * @type {string} * @memberof GetNetworkResponse */ blockReward?: string; /** * * @type {string} * @memberof GetNetworkResponse */ averageBlockTime?: string; /** * * @type {string} * @memberof GetNetworkResponse */ averageFee?: string; /** * * @type {string} * @memberof GetNetworkResponse */ totalUsers?: string; /** * * @type {string} * @memberof GetNetworkResponse */ networkBondingTime?: string; /** * * @type {string} * @memberof GetNetworkResponse */ validatorMinimumBondAmount?: string; /** * * @type {string} * @memberof GetNetworkResponse */ delegatorMinimumBondAmount?: string; } /** * * @export * @interface GetPeggedAssetsResponse */ export interface GetPeggedAssetsResponse { /** * * @type {string} * @memberof GetPeggedAssetsResponse */ tokenName?: string; /** * * @type {string} * @memberof GetPeggedAssetsResponse */ value?: string; } /** * * @export * @interface GetPoolResponse */ export interface GetPoolResponse { /** * * @type {GetPoolsResponse} * @memberof GetPoolResponse */ pool?: GetPoolsResponse; /** * * @type {string} * @memberof GetPoolResponse */ clpModuleAddress?: string; /** * * @type {string} * @memberof GetPoolResponse */ height?: string; } /** * * @export * @interface GetPoolsResponse */ export interface GetPoolsResponse { /** * * @type {ExternalAsset} * @memberof GetPoolsResponse */ externalAsset?: ExternalAsset; /** * * @type {NativeAsset} * @memberof GetPoolsResponse */ nativeAsset?: NativeAsset; /** * * @type {string} * @memberof GetPoolsResponse */ poolUnits?: string; } /** * * @export * @interface GetSummaryResponse */ export interface GetSummaryResponse { /** * Identifier of a ticker with delimiter to separate base/quote, eg. BTC-USD (Price of BTC is quoted in USD) * @type {string} * @memberof GetSummaryResponse */ tradingPairs?: string; /** * Symbol/currency code of base currency, eg. BTC * @type {string} * @memberof GetSummaryResponse */ baseCurrency?: string; /** * Symbol/currency code of target currency, eg. USD * @type {string} * @memberof GetSummaryResponse */ targetCurrency?: string; /** * Last transacted price of base currency based on given quote currency * @type {string} * @memberof GetSummaryResponse */ lastPrice?: string; /** * 24-hr volume of market pair denoted in BASE currency * @type {string} * @memberof GetSummaryResponse */ baseVolume?: string; /** * 24-hr volume of market pair denoted in Target currency * @type {string} * @memberof GetSummaryResponse */ targetVolume?: string; /** * 24-hr % price change of market pair * @type {string} * @memberof GetSummaryResponse */ priceChangePercent24H?: string; /** * Highest price of base currency based on given quote currency in the last 24-hrs * @type {string} * @memberof GetSummaryResponse */ highestPrice24H?: string; /** * Lowest price of base currency based on given quote currency in the last 24-hrs * @type {string} * @memberof GetSummaryResponse */ lowestPrice24H?: string; /** * Lowest Ask price of base currency based on given quote currency * @type {string} * @memberof GetSummaryResponse */ lowestAsk?: string; /** * Highest bid price of base currency based on given quote currency * @type {string} * @memberof GetSummaryResponse */ highestBid?: string; } /** * * @export * @interface GetTokenStatsResponse */ export interface GetTokenStatsResponse { /** * * @type {string} * @memberof GetTokenStatsResponse */ rowanUSD?: string; /** * * @type {Array} * @memberof GetTokenStatsResponse */ pools?: Array; } /** * * @export * @interface GetTokenStatsResponsePools */ export interface GetTokenStatsResponsePools { /** * * @type {string} * @memberof GetTokenStatsResponsePools */ symbol?: string; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ priceToken?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ poolDepth?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ poolTVL?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ volume?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ arb?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ dailySwapFees?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ poolBalance?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ poolBalanceInRowan?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ accruedNumBlocksRewards?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ rewardPeriodNativeDistributed?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ blocksPerYear?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ rewardApr?: number; /** * * @type {number} * @memberof GetTokenStatsResponsePools */ poolApr?: number; } /** * * @export * @interface GetTokenValueResponse */ export interface GetTokenValueResponse { /** * * @type {string} * @memberof GetTokenValueResponse */ symbol?: string; /** * * @type {string} * @memberof GetTokenValueResponse */ priceInUSDC?: string; /** * * @type {string} * @memberof GetTokenValueResponse */ priceInRowan?: string; } /** * * @export * @interface GetTotalStakedByDelegatorsResponse */ export interface GetTotalStakedByDelegatorsResponse { /** * * @type {string} * @memberof GetTotalStakedByDelegatorsResponse */ amountDelegated?: string; } /** * * @export * @interface GetTotalSupplyResponse */ export interface GetTotalSupplyResponse { /** * * @type {string} * @memberof GetTotalSupplyResponse */ denom?: string; /** * * @type {string} * @memberof GetTotalSupplyResponse */ amount?: string; } /** * * @export * @interface GetTradeResponse */ export interface GetTradeResponse { /** * A unique ID associated with the trade for the currency pair transaction * @type {string} * @memberof GetTradeResponse */ tradeId?: string; /** * Last transacted price of base currency based on given quote currency. (same as baseVolume) * @type {string} * @memberof GetTradeResponse */ price?: string; /** * Transaction amount in BASE currency. * @type {string} * @memberof GetTradeResponse */ baseVolume?: string; /** * Transaction amount in TARGET currency. * @type {string} * @memberof GetTradeResponse */ targetVolume?: string; /** * Symbol of base token. * @type {string} * @memberof GetTradeResponse */ baseToken?: string; /** * Symbol of target token. * @type {string} * @memberof GetTradeResponse */ targetToken?: string; /** * Unix timestamp in milliseconds for when the transaction occurred. * @type {number} * @memberof GetTradeResponse */ timestamp?: number; /** * Type of trade. Sifcahin does not have Buy or Sell trades. We Swap. * @type {string} * @memberof GetTradeResponse */ type?: string; } /** * * @export * @interface GetValidatorResponse */ export interface GetValidatorResponse { /** * * @type {string} * @memberof GetValidatorResponse */ validatorAddress?: string; /** * * @type {string} * @memberof GetValidatorResponse */ name?: string; /** * * @type {string} * @memberof GetValidatorResponse */ stakedAmount?: string; /** * * @type {string} * @memberof GetValidatorResponse */ selfDelegation?: string; /** * * @type {string} * @memberof GetValidatorResponse */ externalDelegation?: string; /** * * @type {string} * @memberof GetValidatorResponse */ unclaimedRewards?: string; /** * * @type {boolean} * @memberof GetValidatorResponse */ isSlashed?: boolean; /** * * @type {string} * @memberof GetValidatorResponse */ balance?: string; /** * Validator uptime percentage over last 30 days * @type {string} * @memberof GetValidatorResponse */ performance?: string; } /** * * @export */ export declare type GetValidatorsResponse = Array; /** * * @export * @interface InlineResponse200 */ export interface InlineResponse200 { /** * The staking rewards rate. * @type {string} * @memberof InlineResponse200 */ rate?: string; } /** * * @export * @interface NativeAsset */ export interface NativeAsset { /** * * @type {string} * @memberof NativeAsset */ symbol?: string; /** * * @type {string} * @memberof NativeAsset */ balance?: string; } /** * * @export * @interface PoolShareResponse */ export interface PoolShareResponse { /** * * @type {string} * @memberof PoolShareResponse */ poolShare?: string; } /** * AssetsApi - fetch parameter creator * @export */ export declare const AssetsApiFetchParamCreator: (configuration?: Configuration | undefined) => { /** * This endpoint is to provide a summary for each currency available on the exchange. * @summary Get details on available crypto currencies. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAssets(options?: any): FetchArgs; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenStats(options?: any): FetchArgs; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenStatsPMTP(options?: any): FetchArgs; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenValue(symbol: string, options?: any): FetchArgs; }; /** * AssetsApi - functional programming interface * @export */ export declare const AssetsApiFp: (configuration?: Configuration | undefined) => { /** * This endpoint is to provide a summary for each currency available on the exchange. * @summary Get details on available crypto currencies. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAssets(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenStats(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenStatsPMTP(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenValue(symbol: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; }; /** * AssetsApi - factory interface * @export */ export declare const AssetsApiFactory: (configuration?: Configuration | undefined, fetch?: FetchAPI | undefined, basePath?: string | undefined) => { /** * This endpoint is to provide a summary for each currency available on the exchange. * @summary Get details on available crypto currencies. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAssets(options?: any): Promise; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenStats(options?: any): Promise; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenStatsPMTP(options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTokenValue(symbol: string, options?: any): Promise; }; /** * AssetsApi - object-oriented interface * @export * @class AssetsApi * @extends {BaseAPI} */ export declare class AssetsApi extends BaseAPI { /** * This endpoint is to provide a summary for each currency available on the exchange. * @summary Get details on available crypto currencies. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ getAssets(options?: any): Promise; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ getTokenStats(options?: any): Promise; /** * This end point gets the statistics of tokens * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ getTokenStatsPMTP(options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ getTokenValue(symbol: string, options?: any): Promise; } /** * NetworkApi - fetch parameter creator * @export */ export declare const NetworkApiFetchParamCreator: (configuration?: Configuration | undefined) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcTotalDailyVolume(options?: any): FetchArgs; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmcSummary(options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDailyPrice(options?: any): FetchArgs; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDispensation(type: string, options?: any): FetchArgs; /** * This end point gets daily OHLC ticker data. * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getHistoricalPrice(symbol: string, options?: any): FetchArgs; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetChange(symbol: string, lpAddress: string, options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkInfo(options?: any): FetchArgs; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRewardConfig(type: string, options?: any): FetchArgs; /** * This endpoint returns reward based liquidity events * @summary Get the reward payout info * @param {string} address Wallet address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRewardUser(address: string, options?: any): FetchArgs; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSummary(options?: any): FetchArgs; }; /** * NetworkApi - functional programming interface * @export */ export declare const NetworkApiFp: (configuration?: Configuration | undefined) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcTotalDailyVolume(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmcSummary(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDailyPrice(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDispensation(type: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * This end point gets daily OHLC ticker data. * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getHistoricalPrice(symbol: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetChange(symbol: string, lpAddress: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkInfo(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRewardConfig(type: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * This endpoint returns reward based liquidity events * @summary Get the reward payout info * @param {string} address Wallet address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRewardUser(address: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSummary(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; }; /** * NetworkApi - factory interface * @export */ export declare const NetworkApiFactory: (configuration?: Configuration | undefined, fetch?: FetchAPI | undefined, basePath?: string | undefined) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcTotalDailyVolume(options?: any): Promise; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmcSummary(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDailyPrice(options?: any): Promise; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDispensation(type: string, options?: any): Promise; /** * This end point gets daily OHLC ticker data. * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getHistoricalPrice(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetChange(symbol: string, lpAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkInfo(options?: any): Promise; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRewardConfig(type: string, options?: any): Promise; /** * This endpoint returns reward based liquidity events * @summary Get the reward payout info * @param {string} address Wallet address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRewardUser(address: string, options?: any): Promise; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSummary(options?: any): Promise; }; /** * NetworkApi - object-oriented interface * @export * @class NetworkApi * @extends {BaseAPI} */ export declare class NetworkApi extends BaseAPI { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ cmcTotalDailyVolume(options?: any): Promise; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getCmcSummary(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getDailyPrice(options?: any): Promise; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getDispensation(type: string, options?: any): Promise; /** * This end point gets daily OHLC ticker data. * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getHistoricalPrice(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getNetChange(symbol: string, lpAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getNetworkInfo(options?: any): Promise; /** * * @param {string} type * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getRewardConfig(type: string, options?: any): Promise; /** * This endpoint returns reward based liquidity events * @summary Get the reward payout info * @param {string} address Wallet address * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getRewardUser(address: string, options?: any): Promise; /** * The summary endpoint is to provide an overview of market data for all tickers and all market pairs on the exchange. * @summary Get an overview of market data for all tickers and all markets. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getSummary(options?: any): Promise; } /** * PoolsApi - fetch parameter creator * @export */ export declare const PoolsApiFetchParamCreator: (configuration?: Configuration | undefined) => { /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLiquidityProvider(symbol: string, lpAddress: string, options?: any): FetchArgs; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLiquidityProviders(symbol: string, options?: any): FetchArgs; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLuca(symbol: string, options?: any): FetchArgs; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPool(symbol: string, options?: any): FetchArgs; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPoolShare(symbol: string, lpAddress: string, options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPools(options?: any): FetchArgs; }; /** * PoolsApi - functional programming interface * @export */ export declare const PoolsApiFp: (configuration?: Configuration | undefined) => { /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLiquidityProvider(symbol: string, lpAddress: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLiquidityProviders(symbol: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLuca(symbol: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPool(symbol: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPoolShare(symbol: string, lpAddress: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPools(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; }; /** * PoolsApi - factory interface * @export */ export declare const PoolsApiFactory: (configuration?: Configuration | undefined, fetch?: FetchAPI | undefined, basePath?: string | undefined) => { /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLiquidityProvider(symbol: string, lpAddress: string, options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLiquidityProviders(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLuca(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPool(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPoolShare(symbol: string, lpAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPools(options?: any): Promise; }; /** * PoolsApi - object-oriented interface * @export * @class PoolsApi * @extends {BaseAPI} */ export declare class PoolsApi extends BaseAPI { /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ getLiquidityProvider(symbol: string, lpAddress: string, options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ getLiquidityProviders(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ getLuca(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ getPool(symbol: string, options?: any): Promise; /** * * @param {string} symbol * @param {string} lpAddress * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ getPoolShare(symbol: string, lpAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ getPools(options?: any): Promise; } /** * StatsApi - fetch parameter creator * @export */ export declare const StatsApiFetchParamCreator: (configuration?: Configuration | undefined) => { /** * This end point gets the total circulating supply of Rowan as a string. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcCirculatingSupply(options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcTotalSupply(options?: any): FetchArgs; /** * This end point gets the total circulating supply of Rowan. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCirculatingSupply(options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStakingRewards(options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTotalSupply(options?: any): FetchArgs; }; /** * StatsApi - functional programming interface * @export */ export declare const StatsApiFp: (configuration?: Configuration | undefined) => { /** * This end point gets the total circulating supply of Rowan as a string. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcCirculatingSupply(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcTotalSupply(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * This end point gets the total circulating supply of Rowan. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCirculatingSupply(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStakingRewards(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTotalSupply(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; }; /** * StatsApi - factory interface * @export */ export declare const StatsApiFactory: (configuration?: Configuration | undefined, fetch?: FetchAPI | undefined, basePath?: string | undefined) => { /** * This end point gets the total circulating supply of Rowan as a string. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcCirculatingSupply(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmcTotalSupply(options?: any): Promise; /** * This end point gets the total circulating supply of Rowan. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCirculatingSupply(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStakingRewards(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTotalSupply(options?: any): Promise; }; /** * StatsApi - object-oriented interface * @export * @class StatsApi * @extends {BaseAPI} */ export declare class StatsApi extends BaseAPI { /** * This end point gets the total circulating supply of Rowan as a string. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatsApi */ cmcCirculatingSupply(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatsApi */ cmcTotalSupply(options?: any): Promise; /** * This end point gets the total circulating supply of Rowan. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatsApi */ getCirculatingSupply(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatsApi */ getStakingRewards(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StatsApi */ getTotalSupply(options?: any): Promise; } /** * TradesApi - fetch parameter creator * @export */ export declare const TradesApiFetchParamCreator: (configuration?: Configuration | undefined) => { /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompetitionRanks(type: string, options?: any): FetchArgs; /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} token token * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompetitionRanksByToken(token: string, type: string, options?: any): FetchArgs; /** * The trades endpoint is to return data on all recently completed trades for a given market pair. * @summary Get recently completed trades for a given market (24 hours) * @param {string} marketPair A pair such as “eth_usdt”. Must be seperated by an underscore and in the format {base}_{target}. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTrades(marketPair: string, options?: any): FetchArgs; }; /** * TradesApi - functional programming interface * @export */ export declare const TradesApiFp: (configuration?: Configuration | undefined) => { /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompetitionRanks(type: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} token token * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompetitionRanksByToken(token: string, type: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * The trades endpoint is to return data on all recently completed trades for a given market pair. * @summary Get recently completed trades for a given market (24 hours) * @param {string} marketPair A pair such as “eth_usdt”. Must be seperated by an underscore and in the format {base}_{target}. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTrades(marketPair: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; }; /** * TradesApi - factory interface * @export */ export declare const TradesApiFactory: (configuration?: Configuration | undefined, fetch?: FetchAPI | undefined, basePath?: string | undefined) => { /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompetitionRanks(type: string, options?: any): Promise; /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} token token * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCompetitionRanksByToken(token: string, type: string, options?: any): Promise; /** * The trades endpoint is to return data on all recently completed trades for a given market pair. * @summary Get recently completed trades for a given market (24 hours) * @param {string} marketPair A pair such as “eth_usdt”. Must be seperated by an underscore and in the format {base}_{target}. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTrades(marketPair: string, options?: any): Promise; }; /** * TradesApi - object-oriented interface * @export * @class TradesApi * @extends {BaseAPI} */ export declare class TradesApi extends BaseAPI { /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradesApi */ getCompetitionRanks(type: string, options?: any): Promise; /** * This endpoint returns result based on volume or txns * @summary Get the ranks of trading competition * @param {string} token token * @param {string} type Competition type. Either vol or tx. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradesApi */ getCompetitionRanksByToken(token: string, type: string, options?: any): Promise; /** * The trades endpoint is to return data on all recently completed trades for a given market pair. * @summary Get recently completed trades for a given market (24 hours) * @param {string} marketPair A pair such as “eth_usdt”. Must be seperated by an underscore and in the format {base}_{target}. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradesApi */ getTrades(marketPair: string, options?: any): Promise; } /** * ValidatorsApi - fetch parameter creator * @export */ export declare const ValidatorsApiFetchParamCreator: (configuration?: Configuration | undefined) => { /** * * @param {string} delegatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDelegator(delegatorAddress: string, options?: any): FetchArgs; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDelegators(validatorAddress: string, options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInactiveValidators(options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTotalStakedByDelegators(options?: any): FetchArgs; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getValidator(validatorAddress: string, options?: any): FetchArgs; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getValidators(options?: any): FetchArgs; }; /** * ValidatorsApi - functional programming interface * @export */ export declare const ValidatorsApiFp: (configuration?: Configuration | undefined) => { /** * * @param {string} delegatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDelegator(delegatorAddress: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDelegators(validatorAddress: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInactiveValidators(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTotalStakedByDelegators(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getValidator(validatorAddress: string, options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getValidators(options?: any): (fetch?: FetchAPI | undefined, basePath?: string | undefined) => Promise; }; /** * ValidatorsApi - factory interface * @export */ export declare const ValidatorsApiFactory: (configuration?: Configuration | undefined, fetch?: FetchAPI | undefined, basePath?: string | undefined) => { /** * * @param {string} delegatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDelegator(delegatorAddress: string, options?: any): Promise; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDelegators(validatorAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInactiveValidators(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTotalStakedByDelegators(options?: any): Promise; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} */ getValidator(validatorAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getValidators(options?: any): Promise; }; /** * ValidatorsApi - object-oriented interface * @export * @class ValidatorsApi * @extends {BaseAPI} */ export declare class ValidatorsApi extends BaseAPI { /** * * @param {string} delegatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ValidatorsApi */ getDelegator(delegatorAddress: string, options?: any): Promise; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ValidatorsApi */ getDelegators(validatorAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ValidatorsApi */ getInactiveValidators(options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ValidatorsApi */ getTotalStakedByDelegators(options?: any): Promise; /** * * @param {string} validatorAddress * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ValidatorsApi */ getValidator(validatorAddress: string, options?: any): Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ValidatorsApi */ getValidators(options?: any): Promise; }