/** * Thornode API * Thornode REST API. * * The version of the OpenAPI document: 3.20.3 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Configuration } from './configuration'; import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { RequestArgs, BaseAPI } from './base'; /** * * @export * @interface Account */ export interface Account { /** * * @type {string} * @memberof Account */ 'type'?: string; /** * * @type {string} * @memberof Account */ 'address'?: string; /** * * @type {string} * @memberof Account */ 'pubkey'?: string; /** * * @type {number} * @memberof Account */ 'sequence'?: number; /** * * @type {number} * @memberof Account */ 'account_number'?: number; } /** * * @export * @interface AccountResponse */ export interface AccountResponse { /** * * @type {AccountResponseResult} * @memberof AccountResponse */ 'result'?: AccountResponseResult; } /** * * @export * @interface AccountResponseResult */ export interface AccountResponseResult { /** * * @type {Account} * @memberof AccountResponseResult */ 'value'?: Account; } /** * * @export * @interface Amount */ export interface Amount { /** * * @type {string} * @memberof Amount */ 'denom': string; /** * * @type {string} * @memberof Amount */ 'amount': string; } /** * * @export * @interface AssetPairSummary */ export interface AssetPairSummary { /** * Source asset identifier * @type {string} * @memberof AssetPairSummary */ 'source_asset'?: string; /** * Target asset identifier * @type {string} * @memberof AssetPairSummary */ 'target_asset'?: string; /** * Number of limit swaps for this asset pair * @type {number} * @memberof AssetPairSummary */ 'count'?: number; /** * Total USD value of limit swaps for this asset pair * @type {string} * @memberof AssetPairSummary */ 'total_value_usd'?: string; } /** * * @export * @interface BalancesResponse */ export interface BalancesResponse { /** * * @type {Array} * @memberof BalancesResponse */ 'result'?: Array; } /** * * @export * @interface BanResponse */ export interface BanResponse { /** * * @type {string} * @memberof BanResponse */ 'node_address'?: string; /** * * @type {number} * @memberof BanResponse */ 'block_height'?: number; /** * * @type {Array} * @memberof BanResponse */ 'signers'?: Array; } /** * * @export * @interface BaseQuoteResponse */ export interface BaseQuoteResponse { /** * the inbound address for the transaction on the source chain * @type {string} * @memberof BaseQuoteResponse */ 'inbound_address'?: string; /** * the approximate number of source chain blocks required before processing * @type {number} * @memberof BaseQuoteResponse */ 'inbound_confirmation_blocks'?: number; /** * the approximate seconds for block confirmations required before processing * @type {number} * @memberof BaseQuoteResponse */ 'inbound_confirmation_seconds'?: number; /** * the number of thorchain blocks the outbound will be delayed * @type {number} * @memberof BaseQuoteResponse */ 'outbound_delay_blocks'?: number; /** * the approximate seconds for the outbound delay before it will be sent * @type {number} * @memberof BaseQuoteResponse */ 'outbound_delay_seconds'?: number; /** * * @type {QuoteFees} * @memberof BaseQuoteResponse */ 'fees'?: QuoteFees; /** * the EVM chain router contract address * @type {string} * @memberof BaseQuoteResponse */ 'router'?: string; /** * expiration timestamp in unix seconds * @type {number} * @memberof BaseQuoteResponse */ 'expiry'?: number; /** * static warning message * @type {string} * @memberof BaseQuoteResponse */ 'warning'?: string; /** * chain specific quote notes * @type {string} * @memberof BaseQuoteResponse */ 'notes'?: string; /** * Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. * @type {string} * @memberof BaseQuoteResponse */ 'dust_threshold'?: string; /** * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. * @type {string} * @memberof BaseQuoteResponse */ 'recommended_min_amount_in'?: string; /** * the recommended gas rate to use for the inbound to ensure timely confirmation * @type {string} * @memberof BaseQuoteResponse */ 'recommended_gas_rate'?: string; /** * the units of the recommended gas rate * @type {string} * @memberof BaseQuoteResponse */ 'gas_rate_units'?: string; } /** * * @export * @interface BlockResponse */ export interface BlockResponse { /** * * @type {BlockResponseId} * @memberof BlockResponse */ 'id': BlockResponseId; /** * * @type {BlockResponseHeader} * @memberof BlockResponse */ 'header': BlockResponseHeader; /** * * @type {Array<{ [key: string]: string; }>} * @memberof BlockResponse */ 'finalize_block_events': Array<{ [key: string]: string; }>; /** * * @type {Array<{ [key: string]: string; }>} * @memberof BlockResponse */ 'begin_block_events': Array<{ [key: string]: string; }>; /** * * @type {Array<{ [key: string]: string; }>} * @memberof BlockResponse */ 'end_block_events': Array<{ [key: string]: string; }>; /** * * @type {Array} * @memberof BlockResponse */ 'txs': Array | null; } /** * * @export * @interface BlockResponseHeader */ export interface BlockResponseHeader { /** * * @type {BlockResponseHeaderVersion} * @memberof BlockResponseHeader */ 'version': BlockResponseHeaderVersion; /** * * @type {string} * @memberof BlockResponseHeader */ 'chain_id': string; /** * * @type {number} * @memberof BlockResponseHeader */ 'height': number; /** * * @type {string} * @memberof BlockResponseHeader */ 'time': string; /** * * @type {BlockResponseId} * @memberof BlockResponseHeader */ 'last_block_id': BlockResponseId; /** * * @type {string} * @memberof BlockResponseHeader */ 'last_commit_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'data_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'validators_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'next_validators_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'consensus_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'app_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'last_results_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'evidence_hash': string; /** * * @type {string} * @memberof BlockResponseHeader */ 'proposer_address': string; } /** * * @export * @interface BlockResponseHeaderVersion */ export interface BlockResponseHeaderVersion { /** * * @type {string} * @memberof BlockResponseHeaderVersion */ 'block': string; /** * * @type {string} * @memberof BlockResponseHeaderVersion */ 'app': string; } /** * * @export * @interface BlockResponseId */ export interface BlockResponseId { /** * * @type {string} * @memberof BlockResponseId */ 'hash': string; /** * * @type {BlockResponseIdParts} * @memberof BlockResponseId */ 'parts': BlockResponseIdParts; } /** * * @export * @interface BlockResponseIdParts */ export interface BlockResponseIdParts { /** * * @type {number} * @memberof BlockResponseIdParts */ 'total': number; /** * * @type {string} * @memberof BlockResponseIdParts */ 'hash': string; } /** * * @export * @interface BlockTx */ export interface BlockTx { /** * * @type {string} * @memberof BlockTx */ 'hash': string; /** * * @type {{ [key: string]: any; }} * @memberof BlockTx */ 'tx': { [key: string]: any; }; /** * * @type {BlockTxResult} * @memberof BlockTx */ 'result': BlockTxResult; } /** * * @export * @interface BlockTxResult */ export interface BlockTxResult { /** * * @type {number} * @memberof BlockTxResult */ 'code'?: number; /** * * @type {string} * @memberof BlockTxResult */ 'data'?: string; /** * * @type {string} * @memberof BlockTxResult */ 'log'?: string; /** * * @type {string} * @memberof BlockTxResult */ 'info'?: string; /** * * @type {string} * @memberof BlockTxResult */ 'gas_wanted'?: string; /** * * @type {string} * @memberof BlockTxResult */ 'gas_used'?: string; /** * * @type {Array<{ [key: string]: string; }>} * @memberof BlockTxResult */ 'events'?: Array<{ [key: string]: string; }> | null; /** * * @type {string} * @memberof BlockTxResult */ 'codespace'?: string; } /** * * @export * @interface ChainHeight */ export interface ChainHeight { /** * * @type {string} * @memberof ChainHeight */ 'chain': string; /** * * @type {number} * @memberof ChainHeight */ 'height': number; } /** * * @export * @interface Code */ export interface Code { /** * * @type {string} * @memberof Code */ 'code'?: string; /** * * @type {Array} * @memberof Code */ 'deployers'?: Array; /** * * @type {string} * @memberof Code */ 'origin'?: string; } /** * * @export * @interface CodesResponse */ export interface CodesResponse { /** * * @type {Array} * @memberof CodesResponse */ 'codes'?: Array; } /** * * @export * @interface Coin */ export interface Coin { /** * * @type {string} * @memberof Coin */ 'asset': string; /** * * @type {string} * @memberof Coin */ 'amount': string; /** * * @type {number} * @memberof Coin */ 'decimals'?: number; } /** * * @export * @interface ConstantsResponse */ export interface ConstantsResponse { /** * * @type {{ [key: string]: string; }} * @memberof ConstantsResponse */ 'int_64_values'?: { [key: string]: string; }; /** * * @type {{ [key: string]: string; }} * @memberof ConstantsResponse */ 'bool_values'?: { [key: string]: string; }; /** * * @type {{ [key: string]: string; }} * @memberof ConstantsResponse */ 'string_values'?: { [key: string]: string; }; } /** * * @export * @interface ContractInfo */ export interface ContractInfo { /** * * @type {string} * @memberof ContractInfo */ 'address': string; /** * * @type {string} * @memberof ContractInfo */ 'contract': string; /** * * @type {string} * @memberof ContractInfo */ 'version': string; } /** * * @export * @interface ContractInfoResponse */ export interface ContractInfoResponse { /** * * @type {ContractInfo} * @memberof ContractInfoResponse */ 'info': ContractInfo; } /** * * @export * @interface ContractInfosResponse */ export interface ContractInfosResponse { /** * * @type {Array} * @memberof ContractInfosResponse */ 'infos': Array; } /** * * @export * @interface DerivedPool */ export interface DerivedPool { /** * * @type {string} * @memberof DerivedPool */ 'asset': string; /** * * @type {string} * @memberof DerivedPool */ 'status': string; /** * * @type {number} * @memberof DerivedPool */ 'decimals'?: number; /** * * @type {string} * @memberof DerivedPool */ 'balance_asset': string; /** * * @type {string} * @memberof DerivedPool */ 'balance_rune': string; /** * the depth of the derived virtual pool relative to L1 pool (in basis points) * @type {string} * @memberof DerivedPool */ 'derived_depth_bps': string; } /** * * @export * @interface DerivedPoolsResponse */ export interface DerivedPoolsResponse extends Array { } /** * * @export * @interface DynamicL1FeeCurrentEntry */ export interface DynamicL1FeeCurrentEntry { /** * * @type {string} * @memberof DynamicL1FeeCurrentEntry */ 'thorname': string; /** * normalized asset pair encoded as \"assetA|assetB\" * @type {string} * @memberof DynamicL1FeeCurrentEntry */ 'pair': string; /** * running TOR-denominated (1e8-precision USD value) volume for this (thorname, pair) accumulator in the current epoch * @type {string} * @memberof DynamicL1FeeCurrentEntry */ 'volume_tor': string; /** * running TOR-denominated (1e8-precision USD value) fees for this (thorname, pair) accumulator in the current epoch * @type {string} * @memberof DynamicL1FeeCurrentEntry */ 'fees_tor': string; /** * current epoch index this accumulator belongs to * @type {number} * @memberof DynamicL1FeeCurrentEntry */ 'epoch': number; } /** * * @export * @interface DynamicL1FeeEntry */ export interface DynamicL1FeeEntry { /** * the registered thorname this record is attributed to * @type {string} * @memberof DynamicL1FeeEntry */ 'thorname': string; /** * normalized asset pair encoded as \"assetA|assetB\" * @type {string} * @memberof DynamicL1FeeEntry */ 'pair': string; /** * current dynamic outbound fee floor in basis points * @type {number} * @memberof DynamicL1FeeEntry */ 'dynamic_bps': number; /** * DYNAMICFEE-WHITELIST-{thorname} Mimir value. `0`/absent = not enrolled, `1` = active (applied at swap time), `2` = monitor (computed but not applied). * @type {number} * @memberof DynamicL1FeeEntry */ 'whitelist_state': number; /** * last epoch index in which this pair accrued activity * @type {number} * @memberof DynamicL1FeeEntry */ 'last_active_epoch': number; /** * fees in TOR (1e8-precision USD value) recorded in the most recent sealed history entry, if any * @type {string} * @memberof DynamicL1FeeEntry */ 'latest_fees_tor'?: string; } /** * * @export * @interface DynamicL1FeeHistoryEntry */ export interface DynamicL1FeeHistoryEntry { /** * * @type {number} * @memberof DynamicL1FeeHistoryEntry */ 'epoch': number; /** * TOR-denominated (1e8-precision USD value) swap volume in this epoch * @type {string} * @memberof DynamicL1FeeHistoryEntry */ 'volume_tor': string; /** * TOR-denominated (1e8-precision USD value) fees accrued in this epoch * @type {string} * @memberof DynamicL1FeeHistoryEntry */ 'fees_tor': string; /** * dynamic_bps value at the close of the epoch * @type {number} * @memberof DynamicL1FeeHistoryEntry */ 'bps_at_close': number; } /** * * @export * @interface DynamicL1FeePairDetail */ export interface DynamicL1FeePairDetail { /** * * @type {string} * @memberof DynamicL1FeePairDetail */ 'pair': string; /** * * @type {number} * @memberof DynamicL1FeePairDetail */ 'dynamic_bps': number; /** * * @type {number} * @memberof DynamicL1FeePairDetail */ 'last_active_epoch': number; /** * * @type {Array} * @memberof DynamicL1FeePairDetail */ 'history': Array; } /** * * @export * @interface DynamicL1FeesByThornameResponse */ export interface DynamicL1FeesByThornameResponse { /** * * @type {string} * @memberof DynamicL1FeesByThornameResponse */ 'thorname': string; /** * see DynamicL1FeeEntry.whitelist_state * @type {number} * @memberof DynamicL1FeesByThornameResponse */ 'whitelist_state': number; /** * * @type {Array} * @memberof DynamicL1FeesByThornameResponse */ 'pairs': Array; } /** * * @export * @interface DynamicL1FeesCurrentResponse */ export interface DynamicL1FeesCurrentResponse { /** * current epoch number derived from block height * @type {number} * @memberof DynamicL1FeesCurrentResponse */ 'epoch': number; /** * * @type {Array} * @memberof DynamicL1FeesCurrentResponse */ 'entries': Array; } /** * * @export * @interface DynamicL1FeesResponse */ export interface DynamicL1FeesResponse { /** * * @type {Array} * @memberof DynamicL1FeesResponse */ 'entries': Array; } /** * * @export * @interface InboundAddress */ export interface InboundAddress { /** * * @type {string} * @memberof InboundAddress */ 'chain'?: string; /** * * @type {string} * @memberof InboundAddress */ 'pub_key'?: string; /** * * @type {string} * @memberof InboundAddress */ 'address'?: string; /** * * @type {string} * @memberof InboundAddress */ 'router'?: string; /** * Returns true if trading is unavailable for this chain, either because trading is halted globally or specifically for this chain * @type {boolean} * @memberof InboundAddress */ 'halted': boolean; /** * Returns true if trading is paused globally * @type {boolean} * @memberof InboundAddress */ 'global_trading_paused': boolean; /** * Returns true if trading is paused for this chain * @type {boolean} * @memberof InboundAddress */ 'chain_trading_paused': boolean; /** * Returns true if LP actions are paused for this chain * @type {boolean} * @memberof InboundAddress */ 'chain_lp_actions_paused': boolean; /** * The chain\'s observed fee rate in 1e8 format, before the 1.5x that makes an outbound more likely to have a sufficient gas rate. Used by validators to check whether they need to report a fee change. * @type {string} * @memberof InboundAddress */ 'observed_fee_rate'?: string; /** * The minimum fee rate used by vaults to send outbound TXs. The actual fee rate may be higher. For EVM chains this is returned in gwei (1e9). * @type {string} * @memberof InboundAddress */ 'gas_rate'?: string; /** * Units of the gas_rate. * @type {string} * @memberof InboundAddress */ 'gas_rate_units'?: string; /** * Avg size of outbound TXs on each chain. For UTXO chains it may be larger than average, as it takes into account vault consolidation txs, which can have many vouts * @type {string} * @memberof InboundAddress */ 'outbound_tx_size'?: string; /** * The total outbound fee charged to the user for outbound txs in the gas asset of the chain. Can be observed_fee_rate * 1.5 * outbound_tx_size or else kept to an equivalent of Mimir key MinimumL1OutboundFeeUSD. * @type {string} * @memberof InboundAddress */ 'outbound_fee'?: string; /** * Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. * @type {string} * @memberof InboundAddress */ 'dust_threshold'?: string; } /** * * @export * @interface InboundAddressesResponse */ export interface InboundAddressesResponse extends Array { } /** * * @export * @interface InboundConfirmationCountedStage */ export interface InboundConfirmationCountedStage { /** * the THORChain block height when confirmation counting began * @type {number} * @memberof InboundConfirmationCountedStage */ 'counting_start_height'?: number; /** * the external source chain for which confirmation counting takes place * @type {string} * @memberof InboundConfirmationCountedStage */ 'chain'?: string; /** * the block height on the external source chain when the transaction was observed * @type {number} * @memberof InboundConfirmationCountedStage */ 'external_observed_height'?: number; /** * the block height on the external source chain when confirmation counting will be complete * @type {number} * @memberof InboundConfirmationCountedStage */ 'external_confirmation_delay_height'?: number; /** * the estimated remaining seconds before confirmation counting completes * @type {number} * @memberof InboundConfirmationCountedStage */ 'remaining_confirmation_seconds'?: number; /** * returns true if no transaction confirmation counting remains to be done * @type {boolean} * @memberof InboundConfirmationCountedStage */ 'completed': boolean; } /** * * @export * @interface InboundFinalisedStage */ export interface InboundFinalisedStage { /** * returns true if the inbound transaction has been finalised (THORChain agreeing it exists) * @type {boolean} * @memberof InboundFinalisedStage */ 'completed': boolean; } /** * * @export * @interface InboundObservedStage */ export interface InboundObservedStage { /** * returns true if any nodes have observed the transaction (to be deprecated in favour of counts) * @type {boolean} * @memberof InboundObservedStage */ 'started'?: boolean; /** * number of signers for pre-confirmation-counting observations * @type {number} * @memberof InboundObservedStage */ 'pre_confirmation_count'?: number; /** * number of signers for final observations, after any confirmation counting complete * @type {number} * @memberof InboundObservedStage */ 'final_count': number; /** * returns true if no transaction observation remains to be done * @type {boolean} * @memberof InboundObservedStage */ 'completed': boolean; } /** * * @export * @interface InvariantResponse */ export interface InvariantResponse { /** * The name of the invariant. * @type {string} * @memberof InvariantResponse */ 'invariant': string; /** * Returns true if the invariant is broken. * @type {boolean} * @memberof InvariantResponse */ 'broken': boolean; /** * Informative message about the invariant result. * @type {Array} * @memberof InvariantResponse */ 'msg': Array; } /** * * @export * @interface InvariantsResponse */ export interface InvariantsResponse { /** * * @type {Array} * @memberof InvariantsResponse */ 'invariants'?: Array; } /** * * @export * @interface Keygen */ export interface Keygen { /** * * @type {string} * @memberof Keygen */ 'id'?: string; /** * * @type {string} * @memberof Keygen */ 'type'?: string; /** * * @type {Array} * @memberof Keygen */ 'members'?: Array; } /** * * @export * @interface KeygenBlock */ export interface KeygenBlock { /** * the height of the keygen block * @type {number} * @memberof KeygenBlock */ 'height'?: number; /** * * @type {Array} * @memberof KeygenBlock */ 'keygens': Array; } /** * * @export * @interface KeygenMetric */ export interface KeygenMetric { /** * * @type {string} * @memberof KeygenMetric */ 'pub_key'?: string; /** * * @type {Array} * @memberof KeygenMetric */ 'node_tss_times': Array; } /** * * @export * @interface KeygenMetricsResponse */ export interface KeygenMetricsResponse extends Array { } /** * * @export * @interface KeygenResponse */ export interface KeygenResponse { /** * * @type {KeygenBlock} * @memberof KeygenResponse */ 'keygen_block': KeygenBlock; /** * * @type {string} * @memberof KeygenResponse */ 'signature': string; } /** * * @export * @interface KeysignInfo */ export interface KeysignInfo { /** * the block(s) in which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue * @type {number} * @memberof KeysignInfo */ 'height'?: number; /** * * @type {Array} * @memberof KeysignInfo */ 'tx_array': Array; } /** * * @export * @interface KeysignMetrics */ export interface KeysignMetrics { /** * * @type {string} * @memberof KeysignMetrics */ 'tx_id'?: string; /** * * @type {Array} * @memberof KeysignMetrics */ 'node_tss_times'?: Array; } /** * * @export * @interface KeysignPartyResponse */ export interface KeysignPartyResponse { /** * * @type {string} * @memberof KeysignPartyResponse */ 'pub_key': string; /** * * @type {Array} * @memberof KeysignPartyResponse */ 'signers': Array; /** * * @type {number} * @memberof KeysignPartyResponse */ 'height': number; /** * * @type {number} * @memberof KeysignPartyResponse */ 'threshold': number; /** * * @type {number} * @memberof KeysignPartyResponse */ 'required_signers': number; /** * * @type {Array} * @memberof KeysignPartyResponse */ 'never_signers': Array; /** * * @type {Array} * @memberof KeysignPartyResponse */ 'jailed_fallback_signers': Array; /** * * @type {number} * @memberof KeysignPartyResponse */ 'active_signer_count': number; } /** * * @export * @interface KeysignResponse */ export interface KeysignResponse { /** * * @type {KeysignInfo} * @memberof KeysignResponse */ 'keysign': KeysignInfo; /** * * @type {string} * @memberof KeysignResponse */ 'signature': string; } /** * * @export * @interface LastBlock */ export interface LastBlock { /** * * @type {string} * @memberof LastBlock */ 'chain': string; /** * * @type {number} * @memberof LastBlock */ 'last_observed_in': number; /** * * @type {number} * @memberof LastBlock */ 'last_signed_out': number; /** * * @type {number} * @memberof LastBlock */ 'thorchain': number; } /** * * @export * @interface LastBlockResponse */ export interface LastBlockResponse extends Array { } /** * * @export * @interface LimitSwapWithDetails */ export interface LimitSwapWithDetails { /** * * @type {MsgSwap} * @memberof LimitSwapWithDetails */ 'swap'?: MsgSwap; /** * The ratio threshold for this limit swap * @type {string} * @memberof LimitSwapWithDetails */ 'ratio'?: string; /** * Number of blocks since the swap was created * @type {number} * @memberof LimitSwapWithDetails */ 'blocks_since_created'?: number; /** * Number of blocks until the swap expires * @type {number} * @memberof LimitSwapWithDetails */ 'time_to_expiry_blocks'?: number; /** * Unix timestamp when the swap was created * @type {number} * @memberof LimitSwapWithDetails */ 'created_timestamp'?: number; } /** * * @export * @interface LimitSwapsResponse */ export interface LimitSwapsResponse { /** * Array of limit swaps with details * @type {Array} * @memberof LimitSwapsResponse */ 'limit_swaps'?: Array; /** * * @type {PaginationMeta} * @memberof LimitSwapsResponse */ 'pagination'?: PaginationMeta; } /** * * @export * @interface LimitSwapsSummaryResponse */ export interface LimitSwapsSummaryResponse { /** * Total number of limit swaps * @type {number} * @memberof LimitSwapsSummaryResponse */ 'total_limit_swaps'?: number; /** * Total USD value of all limit swaps * @type {string} * @memberof LimitSwapsSummaryResponse */ 'total_value_usd'?: string; /** * Summary statistics by asset pair * @type {Array} * @memberof LimitSwapsSummaryResponse */ 'asset_pairs'?: Array; /** * Age in blocks of the oldest limit swap * @type {number} * @memberof LimitSwapsSummaryResponse */ 'oldest_swap_blocks'?: number; /** * Average age in blocks of all limit swaps * @type {number} * @memberof LimitSwapsSummaryResponse */ 'average_age_blocks'?: number; } /** * * @export * @interface LiquidityProvider */ export interface LiquidityProvider { /** * * @type {string} * @memberof LiquidityProvider */ 'asset': string; /** * * @type {string} * @memberof LiquidityProvider */ 'rune_address'?: string; /** * * @type {string} * @memberof LiquidityProvider */ 'asset_address'?: string; /** * * @type {number} * @memberof LiquidityProvider */ 'last_add_height'?: number; /** * * @type {number} * @memberof LiquidityProvider */ 'last_withdraw_height'?: number; /** * * @type {string} * @memberof LiquidityProvider */ 'units': string; /** * * @type {string} * @memberof LiquidityProvider */ 'pending_rune': string; /** * * @type {string} * @memberof LiquidityProvider */ 'pending_asset': string; /** * * @type {string} * @memberof LiquidityProvider */ 'pending_tx_id'?: string; /** * * @type {string} * @memberof LiquidityProvider */ 'rune_deposit_value': string; /** * * @type {string} * @memberof LiquidityProvider */ 'asset_deposit_value': string; /** * * @type {string} * @memberof LiquidityProvider */ 'rune_redeem_value'?: string; /** * * @type {string} * @memberof LiquidityProvider */ 'asset_redeem_value'?: string; /** * * @type {string} * @memberof LiquidityProvider */ 'luvi_deposit_value'?: string; /** * * @type {string} * @memberof LiquidityProvider */ 'luvi_redeem_value'?: string; /** * * @type {string} * @memberof LiquidityProvider */ 'luvi_growth_pct'?: string; } /** * * @export * @interface LiquidityProviderSummary */ export interface LiquidityProviderSummary { /** * * @type {string} * @memberof LiquidityProviderSummary */ 'asset': string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'rune_address'?: string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'asset_address'?: string; /** * * @type {number} * @memberof LiquidityProviderSummary */ 'last_add_height'?: number; /** * * @type {number} * @memberof LiquidityProviderSummary */ 'last_withdraw_height'?: number; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'units': string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'pending_rune': string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'pending_asset': string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'pending_tx_id'?: string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'rune_deposit_value': string; /** * * @type {string} * @memberof LiquidityProviderSummary */ 'asset_deposit_value': string; } /** * * @export * @interface LiquidityProvidersResponse */ export interface LiquidityProvidersResponse extends Array { } /** * * @export * @interface LockedSupply */ export interface LockedSupply { /** * RUNE locked in the reserve module * @type {number} * @memberof LockedSupply */ 'reserve'?: number; } /** * * @export * @interface MetricsResponse */ export interface MetricsResponse { /** * * @type {KeygenMetricsResponse} * @memberof MetricsResponse */ 'keygen'?: KeygenMetricsResponse; /** * * @type {KeysignMetrics} * @memberof MetricsResponse */ 'keysign'?: KeysignMetrics; } /** * * @export * @interface MimirNodesResponse */ export interface MimirNodesResponse { /** * * @type {Array} * @memberof MimirNodesResponse */ 'mimirs'?: Array; } /** * * @export * @interface MimirResponse */ export interface MimirResponse { [key: string]: string; } /** * * @export * @interface MimirVote */ export interface MimirVote { /** * * @type {string} * @memberof MimirVote */ 'key'?: string; /** * * @type {number} * @memberof MimirVote */ 'value'?: number; /** * * @type {string} * @memberof MimirVote */ 'signer'?: string; } /** * * @export * @interface MsgSwap */ export interface MsgSwap { /** * * @type {Tx} * @memberof MsgSwap */ 'tx': Tx; /** * the asset to be swapped to * @type {string} * @memberof MsgSwap */ 'target_asset': string; /** * the destination address to receive the swap output * @type {string} * @memberof MsgSwap */ 'destination'?: string; /** * the minimum amount of output asset to receive (else cancelling and refunding the swap) * @type {string} * @memberof MsgSwap */ 'trade_target': string; /** * the affiliate address which will receive any affiliate fee * @type {string} * @memberof MsgSwap */ 'affiliate_address'?: string; /** * the affiliate fee in basis points * @type {string} * @memberof MsgSwap */ 'affiliate_basis_points': string; /** * the signer (sender) of the transaction * @type {string} * @memberof MsgSwap */ 'signer'?: string; /** * the contract address if an aggregator is specified for a non-THORChain SwapOut * @type {string} * @memberof MsgSwap */ 'aggregator'?: string; /** * the desired output asset of the aggregator SwapOut * @type {string} * @memberof MsgSwap */ 'aggregator_target_address'?: string; /** * the minimum amount of SwapOut asset to receive (else cancelling the SwapOut and receiving THORChain\'s output) * @type {string} * @memberof MsgSwap */ 'aggregator_target_limit'?: string; /** * market if immediately completed or refunded, limit if held until fulfillable * @type {string} * @memberof MsgSwap */ 'swap_type'?: string; /** * number of swaps to execute in a streaming swap * @type {number} * @memberof MsgSwap */ 'stream_quantity'?: number; /** * the interval (in blocks) to execute the streaming swap * @type {number} * @memberof MsgSwap */ 'stream_interval'?: number; /** * the initial block height when the streaming swap was first queued * @type {number} * @memberof MsgSwap */ 'initial_block_height'?: number; /** * * @type {SwapState} * @memberof MsgSwap */ 'state'?: SwapState; /** * the version of the swap (v1 or v2) * @type {string} * @memberof MsgSwap */ 'version'?: string; /** * the index of the swap in the batch * @type {number} * @memberof MsgSwap */ 'index'?: number; } /** * * @export * @interface NetworkResponse */ export interface NetworkResponse { /** * total amount of RUNE awarded to node operators * @type {string} * @memberof NetworkResponse */ 'bond_reward_rune': string; /** * total bonded RUNE * @type {string} * @memberof NetworkResponse */ 'total_bond_units': string; /** * RUNE in Available pools (equal in value to the Assets in those pools) * @type {string} * @memberof NetworkResponse */ 'available_pools_rune': string; /** * RUNE value of Layer 1 Assets in vaults * @type {string} * @memberof NetworkResponse */ 'vaults_liquidity_rune': string; /** * effective security bond used to determine maximum pooled RUNE * @type {string} * @memberof NetworkResponse */ 'effective_security_bond': string; /** * total reserve RUNE * @type {string} * @memberof NetworkResponse */ 'total_reserve': string; /** * Returns true if there exist RetiringVaults which have not finished migrating funds to new ActiveVaults * @type {boolean} * @memberof NetworkResponse */ 'vaults_migrating': boolean; /** * Indicates whether an active Asgard vault currently has spendable XMR funds * @type {boolean} * @memberof NetworkResponse */ 'xmr_active_vault_ready': boolean; /** * Sum of the gas the network has spent to send outbounds * @type {string} * @memberof NetworkResponse */ 'gas_spent_rune': string; /** * Sum of the gas withheld from users to cover outbound gas * @type {string} * @memberof NetworkResponse */ 'gas_withheld_rune': string; /** * Current outbound fee multiplier, in basis points * @type {string} * @memberof NetworkResponse */ 'outbound_fee_multiplier'?: string; /** * the outbound transaction fee in rune, converted from the NativeOutboundFeeUSD mimir (after USD fees are enabled) * @type {string} * @memberof NetworkResponse */ 'native_outbound_fee_rune': string; /** * the native transaction fee in rune, converted from the NativeTransactionFeeUSD mimir (after USD fees are enabled) * @type {string} * @memberof NetworkResponse */ 'native_tx_fee_rune': string; /** * the thorname register fee in rune, converted from the TNSRegisterFeeUSD mimir (after USD fees are enabled) * @type {string} * @memberof NetworkResponse */ 'tns_register_fee_rune': string; /** * the thorname fee per block in rune, converted from the TNSFeePerBlockUSD mimir (after USD fees are enabled) * @type {string} * @memberof NetworkResponse */ 'tns_fee_per_block_rune': string; /** * the rune price in tor * @type {string} * @memberof NetworkResponse */ 'rune_price_in_tor': string; /** * the tor price in rune * @type {string} * @memberof NetworkResponse */ 'tor_price_in_rune': string; /** * indicates if all anchor chains are halted (true), or at least one anchor chain is available (false) * @type {boolean} * @memberof NetworkResponse */ 'tor_price_halted': boolean; } /** * * @export * @interface Node */ export interface Node { /** * * @type {string} * @memberof Node */ 'node_address': string; /** * * @type {string} * @memberof Node */ 'status': NodeStatusEnum; /** * * @type {NodePubKeySet} * @memberof Node */ 'pub_key_set': NodePubKeySet; /** * the consensus pub key for the node * @type {string} * @memberof Node */ 'validator_cons_pub_key': string; /** * the P2PID (:6040/p2pid endpoint) of the node * @type {string} * @memberof Node */ 'peer_id': string; /** * the block height at which the node became active * @type {number} * @memberof Node */ 'active_block_height': number; /** * the block height of the current provided information for the node * @type {number} * @memberof Node */ 'status_since': number; /** * * @type {string} * @memberof Node */ 'node_operator_address': string; /** * current node bond * @type {string} * @memberof Node */ 'total_bond': string; /** * * @type {NodeBondProviders} * @memberof Node */ 'bond_providers': NodeBondProviders; /** * the set of vault public keys of which the node is a member * @type {Array} * @memberof Node */ 'signer_membership': Array; /** * * @type {boolean} * @memberof Node */ 'requested_to_leave': boolean; /** * indicates whether the node has been forced to leave by the network, typically via ban * @type {boolean} * @memberof Node */ 'forced_to_leave': boolean; /** * * @type {number} * @memberof Node */ 'leave_height': number; /** * * @type {string} * @memberof Node */ 'ip_address': string; /** * the currently set version of the node * @type {string} * @memberof Node */ 'version': string; /** * the accumulated slash points, reset at churn but excessive slash points may carry over * @type {number} * @memberof Node */ 'slash_points': number; /** * * @type {NodeJail} * @memberof Node */ 'jail': NodeJail; /** * * @type {string} * @memberof Node */ 'current_award': string; /** * the last observed heights for all chain by the node * @type {Array} * @memberof Node */ 'observe_chains': Array; /** * indicates whether the node is in maintenance mode * @type {boolean} * @memberof Node */ 'maintenance': boolean; /** * the number of recent blocks the node has missed signing * @type {number} * @memberof Node */ 'missing_blocks': number; /** * * @type {NodePreflightStatus} * @memberof Node */ 'preflight_status': NodePreflightStatus; } export declare const NodeStatusEnum: { readonly Active: "Active"; readonly Whitelisted: "Whitelisted"; readonly Standby: "Standby"; readonly Disabled: "Disabled"; }; export type NodeStatusEnum = typeof NodeStatusEnum[keyof typeof NodeStatusEnum]; /** * * @export * @interface NodeBondProvider */ export interface NodeBondProvider { /** * * @type {string} * @memberof NodeBondProvider */ 'bond_address'?: string; /** * * @type {string} * @memberof NodeBondProvider */ 'bond'?: string; } /** * * @export * @interface NodeBondProviders */ export interface NodeBondProviders { /** * node operator fee in basis points * @type {string} * @memberof NodeBondProviders */ 'node_operator_fee': string; /** * all the bond providers for the node * @type {Array} * @memberof NodeBondProviders */ 'providers': Array; } /** * * @export * @interface NodeJail */ export interface NodeJail { /** * * @type {number} * @memberof NodeJail */ 'release_height'?: number; /** * * @type {string} * @memberof NodeJail */ 'reason'?: string; } /** * * @export * @interface NodeKeygenMetric */ export interface NodeKeygenMetric { /** * * @type {string} * @memberof NodeKeygenMetric */ 'address'?: string; /** * * @type {string} * @memberof NodeKeygenMetric */ 'tss_time'?: string; } /** * * @export * @interface NodePreflightStatus */ export interface NodePreflightStatus { /** * the next status of the node * @type {string} * @memberof NodePreflightStatus */ 'status': string; /** * the reason for the transition to the next status * @type {string} * @memberof NodePreflightStatus */ 'reason': string; /** * * @type {number} * @memberof NodePreflightStatus */ 'code': number; } /** * * @export * @interface NodePubKeySet */ export interface NodePubKeySet { /** * * @type {string} * @memberof NodePubKeySet */ 'secp256k1'?: string; /** * * @type {string} * @memberof NodePubKeySet */ 'ed25519'?: string; } /** * * @export * @interface NodesResponse */ export interface NodesResponse extends Array { } /** * * @export * @interface ObservedTx */ export interface ObservedTx { /** * * @type {Tx} * @memberof ObservedTx */ 'tx': Tx; /** * * @type {string} * @memberof ObservedTx */ 'observed_pub_key'?: string; /** * * @type {string} * @memberof ObservedTx */ 'observed_pub_key_eddsa'?: string; /** * the block height on the external source chain when the transaction was observed, not provided if chain is THOR * @type {number} * @memberof ObservedTx */ 'external_observed_height'?: number; /** * the block height on the external source chain when confirmation counting will be complete, not provided if chain is THOR * @type {number} * @memberof ObservedTx */ 'external_confirmation_delay_height'?: number; /** * the outbound aggregator to use, will also match a suffix * @type {string} * @memberof ObservedTx */ 'aggregator'?: string; /** * the aggregator target asset provided to transferOutAndCall * @type {string} * @memberof ObservedTx */ 'aggregator_target'?: string; /** * the aggregator target asset limit provided to transferOutAndCall * @type {string} * @memberof ObservedTx */ 'aggregator_target_limit'?: string; /** * * @type {Array} * @memberof ObservedTx */ 'signers'?: Array; /** * * @type {number} * @memberof ObservedTx */ 'keysign_ms'?: number; /** * * @type {Array} * @memberof ObservedTx */ 'out_hashes'?: Array; /** * XMR outbound spent outputs and key images committed by observers. * @type {Array} * @memberof ObservedTx */ 'spent_output_refs'?: Array; /** * XMR outbound tx private key used by third parties to verify recipient outputs. * @type {string} * @memberof ObservedTx */ 'xmr_tx_key'?: string; /** * * @type {string} * @memberof ObservedTx */ 'status'?: ObservedTxStatusEnum; } export declare const ObservedTxStatusEnum: { readonly Done: "done"; readonly Incomplete: "incomplete"; }; export type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof ObservedTxStatusEnum]; /** * * @export * @interface OraclePrice */ export interface OraclePrice { /** * * @type {string} * @memberof OraclePrice */ 'symbol'?: string; /** * * @type {string} * @memberof OraclePrice */ 'amount'?: string; } /** * * @export * @interface OraclePriceResponse */ export interface OraclePriceResponse { /** * * @type {Array} * @memberof OraclePriceResponse */ 'price'?: Array; } /** * * @export * @interface OraclePricesResponse */ export interface OraclePricesResponse { /** * * @type {Array} * @memberof OraclePricesResponse */ 'prices'?: Array; } /** * * @export * @interface OutboundDelayStage */ export interface OutboundDelayStage { /** * the number of remaining THORChain blocks the outbound will be delayed * @type {number} * @memberof OutboundDelayStage */ 'remaining_delay_blocks'?: number; /** * the estimated remaining seconds of the outbound delay before it will be sent * @type {number} * @memberof OutboundDelayStage */ 'remaining_delay_seconds'?: number; /** * returns true if no transaction outbound delay remains * @type {boolean} * @memberof OutboundDelayStage */ 'completed': boolean; } /** * * @export * @interface OutboundFee */ export interface OutboundFee { /** * the asset to display the outbound fee for * @type {string} * @memberof OutboundFee */ 'asset': string; /** * the asset\'s outbound fee, in (1e8-format) units of the asset * @type {string} * @memberof OutboundFee */ 'outbound_fee': string; /** * Total RUNE the network has withheld as fees to later cover gas costs for this asset\'s outbounds * @type {string} * @memberof OutboundFee */ 'fee_withheld_rune'?: string; /** * Total RUNE the network has spent to reimburse gas costs for this asset\'s outbounds * @type {string} * @memberof OutboundFee */ 'fee_spent_rune'?: string; /** * amount of RUNE by which the fee_withheld_rune exceeds the fee_spent_rune * @type {string} * @memberof OutboundFee */ 'surplus_rune'?: string; /** * dynamic multiplier basis points, based on the surplus_rune, affecting the size of the outbound_fee * @type {string} * @memberof OutboundFee */ 'dynamic_multiplier_basis_points'?: string; } /** * * @export * @interface OutboundFeesResponse */ export interface OutboundFeesResponse extends Array { } /** * * @export * @interface OutboundResponse */ export interface OutboundResponse extends Array { } /** * * @export * @interface OutboundSignedStage */ export interface OutboundSignedStage { /** * THORChain height for which the external outbound is scheduled * @type {number} * @memberof OutboundSignedStage */ 'scheduled_outbound_height'?: number; /** * THORChain blocks since the scheduled outbound height * @type {number} * @memberof OutboundSignedStage */ 'blocks_since_scheduled'?: number; /** * returns true if an external transaction has been signed and broadcast (and observed in its mempool) * @type {boolean} * @memberof OutboundSignedStage */ 'completed': boolean; } /** * * @export * @interface OutputRef */ export interface OutputRef { /** * Source transaction hash for the spent XMR output. * @type {string} * @memberof OutputRef */ 'tx_hash'?: string; /** * Output index in the source transaction. * @type {number} * @memberof OutputRef */ 'output_index'?: number; /** * XMR key image proving the referenced output was spent. * @type {string} * @memberof OutputRef */ 'key_image'?: string; /** * XMR outbound transaction hash that spends this output. * @type {string} * @memberof OutputRef */ 'spend_tx_hash'?: string; } /** * * @export * @interface POL */ export interface POL { /** * total amount of RUNE deposited into the pools * @type {string} * @memberof POL */ 'rune_deposited': string; /** * total amount of RUNE withdrawn from the pools * @type {string} * @memberof POL */ 'rune_withdrawn': string; /** * total value of protocol\'s LP position in RUNE value * @type {string} * @memberof POL */ 'value': string; /** * profit and loss of protocol owned liquidity * @type {string} * @memberof POL */ 'pnl': string; /** * current amount of rune deposited * @type {string} * @memberof POL */ 'current_deposit': string; } /** * * @export * @interface PaginationMeta */ export interface PaginationMeta { /** * Number of items skipped * @type {number} * @memberof PaginationMeta */ 'offset'?: number; /** * Number of items returned * @type {number} * @memberof PaginationMeta */ 'limit'?: number; /** * Total number of items available * @type {number} * @memberof PaginationMeta */ 'total'?: number; /** * Whether there are more items after this page * @type {boolean} * @memberof PaginationMeta */ 'has_next'?: boolean; /** * Whether there are items before this page * @type {boolean} * @memberof PaginationMeta */ 'has_prev'?: boolean; } /** * * @export * @interface Ping */ export interface Ping { /** * * @type {string} * @memberof Ping */ 'ping'?: string; } /** * * @export * @interface PlannedOutTx */ export interface PlannedOutTx { /** * * @type {string} * @memberof PlannedOutTx */ 'chain': string; /** * * @type {string} * @memberof PlannedOutTx */ 'to_address': string; /** * * @type {Coin} * @memberof PlannedOutTx */ 'coin': Coin; /** * returns true if the planned transaction has a refund memo * @type {boolean} * @memberof PlannedOutTx */ 'refund': boolean; } /** * * @export * @interface Pool */ export interface Pool { /** * * @type {string} * @memberof Pool */ 'asset': string; /** * * @type {string} * @memberof Pool */ 'short_code'?: string; /** * * @type {string} * @memberof Pool */ 'status': string; /** * * @type {number} * @memberof Pool */ 'decimals'?: number; /** * * @type {string} * @memberof Pool */ 'pending_inbound_asset': string; /** * * @type {string} * @memberof Pool */ 'pending_inbound_rune': string; /** * * @type {string} * @memberof Pool */ 'balance_asset': string; /** * * @type {string} * @memberof Pool */ 'balance_rune': string; /** * the USD (TOR) price of the asset in 1e8 * @type {string} * @memberof Pool */ 'asset_tor_price': string; /** * the total pool units, this is the sum of LP and synth units * @type {string} * @memberof Pool */ 'pool_units': string; /** * the total pool liquidity provider units * @type {string} * @memberof Pool */ 'LP_units': string; /** * the total synth units in the pool * @type {string} * @memberof Pool */ 'synth_units': string; /** * the total supply of synths for the asset * @type {string} * @memberof Pool */ 'synth_supply': string; /** * the balance of L1 asset deposited into the Savers Vault * @type {string} * @memberof Pool */ 'savers_depth': string; /** * the number of units owned by Savers * @type {string} * @memberof Pool */ 'savers_units': string; /** * the filled savers capacity in basis points, 4500/10000 = 45% * @type {string} * @memberof Pool */ 'savers_fill_bps': string; /** * amount of remaining capacity in asset * @type {string} * @memberof Pool */ 'savers_capacity_remaining': string; /** * whether additional synths cannot be minted * @type {boolean} * @memberof Pool */ 'synth_mint_paused': boolean; /** * the amount of synth supply remaining before the current max supply is reached * @type {string} * @memberof Pool */ 'synth_supply_remaining': string; /** * the depth of the derived virtual pool relative to L1 pool (in basis points) * @type {string} * @memberof Pool */ 'derived_depth_bps': string; /** * indicates if the pool can be used for swaps * @type {boolean} * @memberof Pool */ 'trading_halted'?: boolean; /** * 24h volume in asset * @type {string} * @memberof Pool */ 'volume_asset'?: string; /** * 24h volume in rune * @type {string} * @memberof Pool */ 'volume_rune'?: string; /** * cumulative RUNE deposited by POL Reserve into this pool * @type {string} * @memberof Pool */ 'pol_reserve_rune_deposited'?: string; /** * rolling liquidity fees accumulated (in RUNE) since the last pool cycle reset; used as the numerator of the POL Reserve deployment score * @type {string} * @memberof Pool */ 'rolling_pool_liquidity_fee_rune'?: string; } /** * * @export * @interface PoolSlipResponse */ export interface PoolSlipResponse extends Array { } /** * * @export * @interface PoolSlipResponseInner */ export interface PoolSlipResponseInner { /** * * @type {string} * @memberof PoolSlipResponseInner */ 'asset': string; /** * Pool slip for this asset\'s pool for the current height * @type {number} * @memberof PoolSlipResponseInner */ 'pool_slip': number; /** * Number of stored pool slips contributing to the current stored rollup * @type {number} * @memberof PoolSlipResponseInner */ 'rollup_count': number; /** * Median of rollup snapshots over a long period * @type {number} * @memberof PoolSlipResponseInner */ 'long_rollup': number; /** * Stored sum of pool slips over a number of previous block heights * @type {number} * @memberof PoolSlipResponseInner */ 'rollup': number; /** * Summed pool slips over a number of previous block heights, to checksum the stored rollup * @type {number} * @memberof PoolSlipResponseInner */ 'summed_rollup'?: number; } /** * * @export * @interface PoolsResponse */ export interface PoolsResponse extends Array { } /** * * @export * @interface QueueResponse */ export interface QueueResponse { /** * * @type {number} * @memberof QueueResponse */ 'swap': number; /** * number of signed outbound tx in the queue * @type {number} * @memberof QueueResponse */ 'outbound': number; /** * * @type {number} * @memberof QueueResponse */ 'internal': number; /** * scheduled outbound value in RUNE * @type {string} * @memberof QueueResponse */ 'scheduled_outbound_value': string; /** * scheduled outbound clout in RUNE * @type {string} * @memberof QueueResponse */ 'scheduled_outbound_clout': string; } /** * * @export * @interface QuoteFees */ export interface QuoteFees { /** * the target asset used for all fees * @type {string} * @memberof QuoteFees */ 'asset': string; /** * affiliate fee in the target asset * @type {string} * @memberof QuoteFees */ 'affiliate'?: string; /** * outbound fee in the target asset * @type {string} * @memberof QuoteFees */ 'outbound'?: string; /** * liquidity fees paid to pools in the target asset * @type {string} * @memberof QuoteFees */ 'liquidity': string; /** * total fees in the target asset * @type {string} * @memberof QuoteFees */ 'total': string; /** * the swap slippage in basis points * @type {number} * @memberof QuoteFees */ 'slippage_bps': number; /** * total basis points in fees relative to amount out * @type {number} * @memberof QuoteFees */ 'total_bps': number; } /** * * @export * @interface QuoteLimitResponse */ export interface QuoteLimitResponse { /** * the inbound address for the transaction on the source chain * @type {string} * @memberof QuoteLimitResponse */ 'inbound_address': string; /** * the approximate number of source chain blocks required before processing * @type {number} * @memberof QuoteLimitResponse */ 'inbound_confirmation_blocks'?: number; /** * the approximate seconds for block confirmations required before processing * @type {number} * @memberof QuoteLimitResponse */ 'inbound_confirmation_seconds'?: number; /** * the number of thorchain blocks the outbound will be delayed * @type {number} * @memberof QuoteLimitResponse */ 'outbound_delay_blocks'?: number; /** * the approximate seconds for the outbound delay before it will be sent * @type {number} * @memberof QuoteLimitResponse */ 'outbound_delay_seconds'?: number; /** * * @type {QuoteFees} * @memberof QuoteLimitResponse */ 'fees': QuoteFees; /** * the EVM chain router contract address * @type {string} * @memberof QuoteLimitResponse */ 'router'?: string; /** * expiration timestamp in unix seconds * @type {number} * @memberof QuoteLimitResponse */ 'expiry'?: number; /** * static warning message * @type {string} * @memberof QuoteLimitResponse */ 'warning'?: string; /** * notes about the limit order * @type {string} * @memberof QuoteLimitResponse */ 'notes'?: string; /** * the dust threshold for the source chain * @type {string} * @memberof QuoteLimitResponse */ 'dust_threshold'?: string; /** * the recommended minimum amount in for the limit order * @type {string} * @memberof QuoteLimitResponse */ 'recommended_min_amount_in'?: string; /** * the recommended gas rate to use for the inbound to ensure timely confirmation * @type {string} * @memberof QuoteLimitResponse */ 'recommended_gas_rate'?: string; /** * the units of the recommended gas rate * @type {string} * @memberof QuoteLimitResponse */ 'gas_rate_units'?: string; /** * generated memo for the limit order * @type {string} * @memberof QuoteLimitResponse */ 'memo'?: string; /** * the amount of the target asset the user can expect to receive after fees * @type {string} * @memberof QuoteLimitResponse */ 'expected_amount_out': string; /** * the block height when the limit order will expire * @type {number} * @memberof QuoteLimitResponse */ 'order_expiry_block': number; /** * the timestamp when the limit order will expire * @type {number} * @memberof QuoteLimitResponse */ 'order_expiry_timestamp': number; } /** * * @export * @interface QuoteSaverDepositResponse */ export interface QuoteSaverDepositResponse { /** * the inbound address for the transaction on the source chain * @type {string} * @memberof QuoteSaverDepositResponse */ 'inbound_address': string; /** * the approximate number of source chain blocks required before processing * @type {number} * @memberof QuoteSaverDepositResponse */ 'inbound_confirmation_blocks'?: number; /** * the approximate seconds for block confirmations required before processing * @type {number} * @memberof QuoteSaverDepositResponse */ 'inbound_confirmation_seconds'?: number; /** * the number of thorchain blocks the outbound will be delayed * @type {number} * @memberof QuoteSaverDepositResponse */ 'outbound_delay_blocks'?: number; /** * the approximate seconds for the outbound delay before it will be sent * @type {number} * @memberof QuoteSaverDepositResponse */ 'outbound_delay_seconds'?: number; /** * * @type {QuoteFees} * @memberof QuoteSaverDepositResponse */ 'fees': QuoteFees; /** * the EVM chain router contract address * @type {string} * @memberof QuoteSaverDepositResponse */ 'router'?: string; /** * expiration timestamp in unix seconds * @type {number} * @memberof QuoteSaverDepositResponse */ 'expiry': number; /** * static warning message * @type {string} * @memberof QuoteSaverDepositResponse */ 'warning': string; /** * chain specific quote notes * @type {string} * @memberof QuoteSaverDepositResponse */ 'notes': string; /** * Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. * @type {string} * @memberof QuoteSaverDepositResponse */ 'dust_threshold'?: string; /** * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. * @type {string} * @memberof QuoteSaverDepositResponse */ 'recommended_min_amount_in'?: string; /** * the recommended gas rate to use for the inbound to ensure timely confirmation * @type {string} * @memberof QuoteSaverDepositResponse */ 'recommended_gas_rate': string; /** * the units of the recommended gas rate * @type {string} * @memberof QuoteSaverDepositResponse */ 'gas_rate_units': string; /** * generated memo for the deposit * @type {string} * @memberof QuoteSaverDepositResponse */ 'memo': string; /** * same as expected_amount_deposit, to be deprecated in favour of expected_amount_deposit * @type {string} * @memberof QuoteSaverDepositResponse */ 'expected_amount_out'?: string; /** * the amount of the target asset the user can expect to deposit after fees * @type {string} * @memberof QuoteSaverDepositResponse */ 'expected_amount_deposit': string; } /** * * @export * @interface QuoteSaverWithdrawResponse */ export interface QuoteSaverWithdrawResponse { /** * the inbound address for the transaction on the source chain * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'inbound_address': string; /** * the approximate number of source chain blocks required before processing * @type {number} * @memberof QuoteSaverWithdrawResponse */ 'inbound_confirmation_blocks'?: number; /** * the approximate seconds for block confirmations required before processing * @type {number} * @memberof QuoteSaverWithdrawResponse */ 'inbound_confirmation_seconds'?: number; /** * the number of thorchain blocks the outbound will be delayed * @type {number} * @memberof QuoteSaverWithdrawResponse */ 'outbound_delay_blocks': number; /** * the approximate seconds for the outbound delay before it will be sent * @type {number} * @memberof QuoteSaverWithdrawResponse */ 'outbound_delay_seconds': number; /** * * @type {QuoteFees} * @memberof QuoteSaverWithdrawResponse */ 'fees': QuoteFees; /** * the EVM chain router contract address * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'router'?: string; /** * expiration timestamp in unix seconds * @type {number} * @memberof QuoteSaverWithdrawResponse */ 'expiry': number; /** * static warning message * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'warning': string; /** * chain specific quote notes * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'notes': string; /** * Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'dust_threshold'?: string; /** * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'recommended_min_amount_in'?: string; /** * the recommended gas rate to use for the inbound to ensure timely confirmation * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'recommended_gas_rate': string; /** * the units of the recommended gas rate * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'gas_rate_units': string; /** * generated memo for the withdraw, the client can use this OR send the dust amount * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'memo': string; /** * the dust amount of the target asset the user should send to initialize the withdraw, the client can send this OR provide the memo * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'dust_amount': string; /** * the amount of the target asset the user can expect to withdraw after fees in 1e8 decimals * @type {string} * @memberof QuoteSaverWithdrawResponse */ 'expected_amount_out': string; } /** * * @export * @interface QuoteSwapResponse */ export interface QuoteSwapResponse { /** * the inbound address for the transaction on the source chain * @type {string} * @memberof QuoteSwapResponse */ 'inbound_address'?: string; /** * the approximate number of source chain blocks required before processing * @type {number} * @memberof QuoteSwapResponse */ 'inbound_confirmation_blocks'?: number; /** * the approximate seconds for block confirmations required before processing * @type {number} * @memberof QuoteSwapResponse */ 'inbound_confirmation_seconds'?: number; /** * the number of thorchain blocks the outbound will be delayed * @type {number} * @memberof QuoteSwapResponse */ 'outbound_delay_blocks': number; /** * the approximate seconds for the outbound delay before it will be sent * @type {number} * @memberof QuoteSwapResponse */ 'outbound_delay_seconds': number; /** * * @type {QuoteFees} * @memberof QuoteSwapResponse */ 'fees': QuoteFees; /** * the EVM chain router contract address * @type {string} * @memberof QuoteSwapResponse */ 'router'?: string; /** * expiration timestamp in unix seconds * @type {number} * @memberof QuoteSwapResponse */ 'expiry': number; /** * static warning message * @type {string} * @memberof QuoteSwapResponse */ 'warning': string; /** * chain specific quote notes * @type {string} * @memberof QuoteSwapResponse */ 'notes': string; /** * Defines the minimum transaction size for the chain in base units (sats, wei, uatom). Transactions with asset amounts lower than the dust_threshold are ignored. * @type {string} * @memberof QuoteSwapResponse */ 'dust_threshold'?: string; /** * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds. * @type {string} * @memberof QuoteSwapResponse */ 'recommended_min_amount_in'?: string; /** * the recommended gas rate to use for the inbound to ensure timely confirmation * @type {string} * @memberof QuoteSwapResponse */ 'recommended_gas_rate'?: string; /** * the units of the recommended gas rate * @type {string} * @memberof QuoteSwapResponse */ 'gas_rate_units'?: string; /** * generated memo for the swap * @type {string} * @memberof QuoteSwapResponse */ 'memo'?: string; /** * the amount of the target asset the user can expect to receive after fees * @type {string} * @memberof QuoteSwapResponse */ 'expected_amount_out': string; /** * the maximum amount of trades a streaming swap can do for a trade * @type {number} * @memberof QuoteSwapResponse */ 'max_streaming_quantity'?: number; /** * the number of blocks the streaming swap will execute over * @type {number} * @memberof QuoteSwapResponse */ 'streaming_swap_blocks'?: number; /** * approx the number of seconds the streaming swap will execute over * @type {number} * @memberof QuoteSwapResponse */ 'streaming_swap_seconds'?: number; /** * total number of seconds a swap is expected to take (inbound conf + streaming swap + outbound delay) * @type {number} * @memberof QuoteSwapResponse */ 'total_swap_seconds'?: number; } /** * * @export * @interface RUNEPoolResponse */ export interface RUNEPoolResponse { /** * * @type {POL} * @memberof RUNEPoolResponse */ 'pol': POL; /** * * @type {RUNEPoolResponseProviders} * @memberof RUNEPoolResponse */ 'providers': RUNEPoolResponseProviders; /** * * @type {RUNEPoolResponseReserve} * @memberof RUNEPoolResponse */ 'reserve': RUNEPoolResponseReserve; } /** * * @export * @interface RUNEPoolResponseProviders */ export interface RUNEPoolResponseProviders { /** * the units of RUNEPool owned by providers (including pending) * @type {string} * @memberof RUNEPoolResponseProviders */ 'units': string; /** * the units of RUNEPool owned by providers that remain pending * @type {string} * @memberof RUNEPoolResponseProviders */ 'pending_units': string; /** * the amount of RUNE pending * @type {string} * @memberof RUNEPoolResponseProviders */ 'pending_rune': string; /** * the value of the provider share of the RUNEPool (includes pending RUNE) * @type {string} * @memberof RUNEPoolResponseProviders */ 'value': string; /** * the profit and loss of the provider share of the RUNEPool * @type {string} * @memberof RUNEPoolResponseProviders */ 'pnl': string; /** * the current RUNE deposited by providers * @type {string} * @memberof RUNEPoolResponseProviders */ 'current_deposit': string; } /** * * @export * @interface RUNEPoolResponseReserve */ export interface RUNEPoolResponseReserve { /** * the units of RUNEPool owned by the reserve * @type {string} * @memberof RUNEPoolResponseReserve */ 'units': string; /** * the value of the reserve share of the RUNEPool * @type {string} * @memberof RUNEPoolResponseReserve */ 'value': string; /** * the profit and loss of the reserve share of the RUNEPool * @type {string} * @memberof RUNEPoolResponseReserve */ 'pnl': string; /** * the current RUNE deposited by the reserve * @type {string} * @memberof RUNEPoolResponseReserve */ 'current_deposit': string; } /** * * @export * @interface RUNEProvider */ export interface RUNEProvider { /** * * @type {string} * @memberof RUNEProvider */ 'rune_address': string; /** * * @type {string} * @memberof RUNEProvider */ 'units': string; /** * * @type {string} * @memberof RUNEProvider */ 'value': string; /** * * @type {string} * @memberof RUNEProvider */ 'pnl': string; /** * * @type {string} * @memberof RUNEProvider */ 'deposit_amount': string; /** * * @type {string} * @memberof RUNEProvider */ 'withdraw_amount': string; /** * * @type {number} * @memberof RUNEProvider */ 'last_deposit_height': number; /** * * @type {number} * @memberof RUNEProvider */ 'last_withdraw_height': number; } /** * * @export * @interface RUNEProvidersResponse */ export interface RUNEProvidersResponse extends Array { } /** * * @export * @interface ReferenceMemoPreflightResponse */ export interface ReferenceMemoPreflightResponse { /** * the reference ID that would be generated from the amount * @type {string} * @memberof ReferenceMemoPreflightResponse */ 'reference': string; /** * whether this reference is currently available (not registered or expired) * @type {boolean} * @memberof ReferenceMemoPreflightResponse */ 'available': boolean; /** * whether a new registration can be made with this reference * @type {boolean} * @memberof ReferenceMemoPreflightResponse */ 'can_register': boolean; /** * block height when current registration expires (0 if available) * @type {string} * @memberof ReferenceMemoPreflightResponse */ 'expires_at': string; /** * the currently registered memo (only present if not available) * @type {string} * @memberof ReferenceMemoPreflightResponse */ 'memo'?: string; /** * the number of times this reference has been used * @type {string} * @memberof ReferenceMemoPreflightResponse */ 'usage_count': string; /** * the maximum number of times this reference can be used (0 = unlimited) * @type {string} * @memberof ReferenceMemoPreflightResponse */ 'max_use': string; } /** * * @export * @interface ReferenceMemoResponse */ export interface ReferenceMemoResponse { /** * the asset for which this reference memo is valid * @type {string} * @memberof ReferenceMemoResponse */ 'asset': string; /** * the original memo that was registered for memoless transactions * @type {string} * @memberof ReferenceMemoResponse */ 'memo': string; /** * the reference number used to identify this memo * @type {string} * @memberof ReferenceMemoResponse */ 'reference': string; /** * the block height when this reference memo was registered * @type {string} * @memberof ReferenceMemoResponse */ 'height': string; /** * the transaction hash where this reference memo was registered * @type {string} * @memberof ReferenceMemoResponse */ 'registration_hash': string; /** * the address that registered this reference memo * @type {string} * @memberof ReferenceMemoResponse */ 'registered_by': string; /** * list of transaction hashes that have used this reference memo * @type {Array} * @memberof ReferenceMemoResponse */ 'used_by_txs': Array; } /** * * @export * @interface Saver */ export interface Saver { /** * * @type {string} * @memberof Saver */ 'asset': string; /** * * @type {string} * @memberof Saver */ 'asset_address': string; /** * * @type {number} * @memberof Saver */ 'last_add_height'?: number; /** * * @type {number} * @memberof Saver */ 'last_withdraw_height'?: number; /** * * @type {string} * @memberof Saver */ 'units': string; /** * * @type {string} * @memberof Saver */ 'asset_deposit_value': string; /** * * @type {string} * @memberof Saver */ 'asset_redeem_value': string; /** * * @type {string} * @memberof Saver */ 'growth_pct': string; } /** * * @export * @interface SaversResponse */ export interface SaversResponse extends Array { } /** * * @export * @interface ScheduledResponse */ export interface ScheduledResponse extends Array { } /** * * @export * @interface SecuredAssetResponse */ export interface SecuredAssetResponse { /** * secured account asset with \"-\" separator * @type {string} * @memberof SecuredAssetResponse */ 'asset': string; /** * total share tokens issued for the asset * @type {string} * @memberof SecuredAssetResponse */ 'supply': string; /** * total deposits of the asset * @type {string} * @memberof SecuredAssetResponse */ 'depth': string; } /** * * @export * @interface SecuredAssetsResponse */ export interface SecuredAssetsResponse extends Array { } /** * * @export * @interface StableReserveContributorResponse */ export interface StableReserveContributorResponse { /** * * @type {string} * @memberof StableReserveContributorResponse */ 'asset': string; /** * * @type {string} * @memberof StableReserveContributorResponse */ 'address': string; /** * * @type {string} * @memberof StableReserveContributorResponse */ 'credit': string; } /** * * @export * @interface StableReserveInventory */ export interface StableReserveInventory { /** * * @type {string} * @memberof StableReserveInventory */ 'asset': string; /** * * @type {string} * @memberof StableReserveInventory */ 'amount': string; /** * * @type {boolean} * @memberof StableReserveInventory */ 'healthy': boolean; /** * * @type {string} * @memberof StableReserveInventory */ 'reason': string; /** * * @type {string} * @memberof StableReserveInventory */ 'oracle_price': string; } /** * * @export * @interface StableReserveResponse */ export interface StableReserveResponse { /** * * @type {boolean} * @memberof StableReserveResponse */ 'enabled': boolean; /** * * @type {string} * @memberof StableReserveResponse */ 'rune_balance': string; /** * * @type {string} * @memberof StableReserveResponse */ 'depeg_tolerance_bps': string; /** * * @type {string} * @memberof StableReserveResponse */ 'pol_share_bps': string; /** * * @type {Array} * @memberof StableReserveResponse */ 'inventory': Array; /** * * @type {string} * @memberof StableReserveResponse */ 'deployment_stream_quantity': string; /** * * @type {string} * @memberof StableReserveResponse */ 'deployment_stream_interval': string; /** * * @type {Array} * @memberof StableReserveResponse */ 'active_swaps': Array; } /** * * @export * @interface StableReserveStreamingSwap */ export interface StableReserveStreamingSwap { /** * * @type {string} * @memberof StableReserveStreamingSwap */ 'tx_id': string; /** * * @type {string} * @memberof StableReserveStreamingSwap */ 'memo': string; /** * * @type {string} * @memberof StableReserveStreamingSwap */ 'purpose': string; /** * * @type {string} * @memberof StableReserveStreamingSwap */ 'source_asset': string; /** * * @type {string} * @memberof StableReserveStreamingSwap */ 'target_asset': string; /** * * @type {string} * @memberof StableReserveStreamingSwap */ 'amount': string; /** * * @type {number} * @memberof StableReserveStreamingSwap */ 'stream_quantity': number; /** * * @type {number} * @memberof StableReserveStreamingSwap */ 'stream_interval': number; } /** * * @export * @interface StreamingStatus */ export interface StreamingStatus { /** * how often each swap is made, in blocks * @type {number} * @memberof StreamingStatus */ 'interval': number; /** * the total number of swaps in a streaming swaps * @type {number} * @memberof StreamingStatus */ 'quantity': number; /** * the amount of swap attempts so far * @type {number} * @memberof StreamingStatus */ 'count': number; } /** * * @export * @interface StreamingSwap */ export interface StreamingSwap { /** * the hash of a transaction * @type {string} * @memberof StreamingSwap */ 'tx_id'?: string; /** * how often each swap is made, in blocks * @type {number} * @memberof StreamingSwap */ 'interval'?: number; /** * the total number of swaps in a streaming swaps * @type {number} * @memberof StreamingSwap */ 'quantity'?: number; /** * the amount of swap attempts so far * @type {number} * @memberof StreamingSwap */ 'count'?: number; /** * the block height of the latest swap * @type {number} * @memberof StreamingSwap */ 'last_height'?: number; /** * the block height when the swap first entered the queue * @type {number} * @memberof StreamingSwap */ 'initial_height'?: number; /** * the total number of tokens the swapper wants to receive of the output asset * @type {string} * @memberof StreamingSwap */ 'trade_target': string; /** * the asset to be swapped from * @type {string} * @memberof StreamingSwap */ 'source_asset'?: string; /** * the asset to be swapped to * @type {string} * @memberof StreamingSwap */ 'target_asset'?: string; /** * the destination address to receive the swap output * @type {string} * @memberof StreamingSwap */ 'destination'?: string; /** * the number of input tokens the swapper has deposited * @type {string} * @memberof StreamingSwap */ 'deposit': string; /** * the amount of input tokens that have been swapped so far * @type {string} * @memberof StreamingSwap */ 'in': string; /** * the amount of output tokens that have been swapped so far * @type {string} * @memberof StreamingSwap */ 'out': string; /** * the list of swap indexes that failed * @type {Array} * @memberof StreamingSwap */ 'failed_swaps'?: Array; /** * the list of reasons that sub-swaps have failed * @type {Array} * @memberof StreamingSwap */ 'failed_swap_reasons'?: Array; } /** * * @export * @interface StreamingSwapsResponse */ export interface StreamingSwapsResponse extends Array { } /** * * @export * @interface SupplyResponse */ export interface SupplyResponse { /** * circulating RUNE supply * @type {number} * @memberof SupplyResponse */ 'circulating': number; /** * * @type {LockedSupply} * @memberof SupplyResponse */ 'locked'?: LockedSupply; /** * total RUNE supply * @type {number} * @memberof SupplyResponse */ 'total': number; } /** * * @export * @interface SwapDetailsResponse */ export interface SwapDetailsResponse { /** * * @type {MsgSwap} * @memberof SwapDetailsResponse */ 'swap'?: MsgSwap; /** * Current status of the swap * @type {string} * @memberof SwapDetailsResponse */ 'status'?: string; /** * Type of queue the swap is in * @type {string} * @memberof SwapDetailsResponse */ 'queue_type'?: string; } /** * * @export * @interface SwapFinalisedStage */ export interface SwapFinalisedStage { /** * (to be deprecated in favor of swap_status) returns true if an inbound transaction\'s swap (successful or refunded) is no longer pending * @type {boolean} * @memberof SwapFinalisedStage */ 'completed': boolean; } /** * * @export * @interface SwapQueuePaginatedResponse */ export interface SwapQueuePaginatedResponse { /** * Array of queued swaps * @type {Array} * @memberof SwapQueuePaginatedResponse */ 'swap_queue'?: Array; /** * * @type {PaginationMeta} * @memberof SwapQueuePaginatedResponse */ 'pagination'?: PaginationMeta; } /** * * @export * @interface SwapQueueResponse */ export interface SwapQueueResponse extends Array { } /** * State tracking for swap execution * @export * @interface SwapState */ export interface SwapState { /** * the interval for streaming swaps * @type {number} * @memberof SwapState */ 'interval'?: number; /** * the number of swaps to execute * @type {number} * @memberof SwapState */ 'quantity'?: number; /** * time to live * @type {number} * @memberof SwapState */ 'ttl'?: number; /** * number of swaps executed * @type {number} * @memberof SwapState */ 'count'?: number; /** * last height when a swap was executed * @type {number} * @memberof SwapState */ 'last_height'?: number; /** * total deposit amount * @type {string} * @memberof SwapState */ 'deposit'?: string; /** * amount withdrawn * @type {string} * @memberof SwapState */ 'withdrawn'?: string; /** * total amount swapped in * @type {string} * @memberof SwapState */ 'in'?: string; /** * total amount swapped out * @type {string} * @memberof SwapState */ 'out'?: string; /** * list of failed swap indices * @type {Array} * @memberof SwapState */ 'failed_swaps'?: Array; /** * reasons for failed swaps * @type {Array} * @memberof SwapState */ 'failed_swap_reasons'?: Array; } /** * * @export * @interface SwapStatus */ export interface SwapStatus { /** * true when awaiting a swap * @type {boolean} * @memberof SwapStatus */ 'pending': boolean; /** * * @type {StreamingStatus} * @memberof SwapStatus */ 'streaming'?: StreamingStatus; } /** * * @export * @interface SwapperCloutResponse */ export interface SwapperCloutResponse { /** * address associated with this clout account * @type {string} * @memberof SwapperCloutResponse */ 'address': string; /** * clout score, which is the amount of rune spent on swap fees * @type {string} * @memberof SwapperCloutResponse */ 'score'?: string; /** * amount of clout that has been reclaimed in total over time (observed clout spent) * @type {string} * @memberof SwapperCloutResponse */ 'reclaimed'?: string; /** * amount of clout that has been spent in total over time * @type {string} * @memberof SwapperCloutResponse */ 'spent'?: string; /** * last block height that clout was spent * @type {number} * @memberof SwapperCloutResponse */ 'last_spent_height'?: number; /** * last block height that clout was reclaimed * @type {number} * @memberof SwapperCloutResponse */ 'last_reclaim_height'?: number; } /** * * @export * @interface TCYClaimer */ export interface TCYClaimer { /** * * @type {string} * @memberof TCYClaimer */ 'l1_address'?: string; /** * * @type {string} * @memberof TCYClaimer */ 'amount': string; /** * * @type {string} * @memberof TCYClaimer */ 'asset': string; } /** * * @export * @interface TCYClaimerSummary */ export interface TCYClaimerSummary { /** * * @type {string} * @memberof TCYClaimerSummary */ 'amount': string; /** * * @type {string} * @memberof TCYClaimerSummary */ 'asset': string; } /** * * @export * @interface TCYClaimersResponse */ export interface TCYClaimersResponse extends Array { } /** * * @export * @interface TCYProtocolOwnedResponse */ export interface TCYProtocolOwnedResponse { /** * protocol-owned TCY in 1e8 base units (claim module tcy balance minus the sum of outstanding tcy_claimer entitlements) * @type {string} * @memberof TCYProtocolOwnedResponse */ 'amount': string; } /** * * @export * @interface TCYStaker */ export interface TCYStaker { /** * * @type {string} * @memberof TCYStaker */ 'address'?: string; /** * * @type {string} * @memberof TCYStaker */ 'amount': string; } /** * * @export * @interface TCYStakerSummary */ export interface TCYStakerSummary { /** * * @type {string} * @memberof TCYStakerSummary */ 'amount': string; } /** * * @export * @interface TCYStakersResponse */ export interface TCYStakersResponse extends Array { } /** * * @export * @interface Thorname */ export interface Thorname { /** * * @type {string} * @memberof Thorname */ 'name'?: string; /** * * @type {number} * @memberof Thorname */ 'expire_block_height'?: number; /** * * @type {string} * @memberof Thorname */ 'owner'?: string; /** * * @type {string} * @memberof Thorname */ 'preferred_asset': string; /** * Amount of RUNE currently needed to trigger a preferred asset swap. * @type {string} * @memberof Thorname */ 'preferred_asset_swap_threshold_rune'?: string; /** * Amount of RUNE currently accrued by this thorname in affiliate fees waiting to be swapped to preferred asset. * @type {string} * @memberof Thorname */ 'affiliate_collector_rune'?: string; /** * * @type {Array} * @memberof Thorname */ 'aliases': Array; } /** * * @export * @interface ThornameAlias */ export interface ThornameAlias { /** * * @type {string} * @memberof ThornameAlias */ 'chain'?: string; /** * * @type {string} * @memberof ThornameAlias */ 'address'?: string; } /** * * @export * @interface TradeAccountResponse */ export interface TradeAccountResponse { /** * trade account asset with \"~\" separator * @type {string} * @memberof TradeAccountResponse */ 'asset': string; /** * units of trade asset belonging to this owner * @type {string} * @memberof TradeAccountResponse */ 'units': string; /** * thor address of trade account owner * @type {string} * @memberof TradeAccountResponse */ 'owner': string; /** * last thorchain height trade assets were added to trade account * @type {number} * @memberof TradeAccountResponse */ 'last_add_height'?: number; /** * last thorchain height trade assets were withdrawn from trade account * @type {number} * @memberof TradeAccountResponse */ 'last_withdraw_height'?: number; } /** * * @export * @interface TradeAccountsResponse */ export interface TradeAccountsResponse extends Array { } /** * * @export * @interface TradeUnitResponse */ export interface TradeUnitResponse { /** * trade account asset with \"~\" separator * @type {string} * @memberof TradeUnitResponse */ 'asset': string; /** * total units of trade asset * @type {string} * @memberof TradeUnitResponse */ 'units': string; /** * total depth of trade asset * @type {string} * @memberof TradeUnitResponse */ 'depth': string; } /** * * @export * @interface TradeUnitsResponse */ export interface TradeUnitsResponse extends Array { } /** * * @export * @interface TssKeysignMetric */ export interface TssKeysignMetric { /** * * @type {string} * @memberof TssKeysignMetric */ 'tx_id'?: string; /** * * @type {Array} * @memberof TssKeysignMetric */ 'node_tss_times': Array; } /** * * @export * @interface TssMetric */ export interface TssMetric { /** * * @type {string} * @memberof TssMetric */ 'address'?: string; /** * * @type {number} * @memberof TssMetric */ 'tss_time'?: number; } /** * * @export * @interface Tx */ export interface Tx { /** * * @type {string} * @memberof Tx */ 'id'?: string; /** * * @type {string} * @memberof Tx */ 'chain'?: string; /** * * @type {string} * @memberof Tx */ 'from_address'?: string; /** * * @type {string} * @memberof Tx */ 'to_address'?: string; /** * * @type {Array} * @memberof Tx */ 'coins': Array; /** * * @type {Array} * @memberof Tx */ 'gas': Array; /** * * @type {string} * @memberof Tx */ 'memo'?: string; } /** * * @export * @interface TxDetailsResponse */ export interface TxDetailsResponse { /** * * @type {string} * @memberof TxDetailsResponse */ 'tx_id'?: string; /** * * @type {ObservedTx} * @memberof TxDetailsResponse */ 'tx': ObservedTx; /** * * @type {Array} * @memberof TxDetailsResponse */ 'txs': Array; /** * * @type {Array} * @memberof TxDetailsResponse */ 'actions': Array; /** * * @type {Array} * @memberof TxDetailsResponse */ 'out_txs': Array; /** * the thorchain height at which the inbound reached consensus * @type {number} * @memberof TxDetailsResponse */ 'consensus_height'?: number; /** * the thorchain height at which the outbound was finalised * @type {number} * @memberof TxDetailsResponse */ 'finalised_height'?: number; /** * * @type {boolean} * @memberof TxDetailsResponse */ 'updated_vault'?: boolean; /** * * @type {boolean} * @memberof TxDetailsResponse */ 'reverted'?: boolean; /** * the thorchain height for which the outbound was scheduled * @type {number} * @memberof TxDetailsResponse */ 'outbound_height'?: number; } /** * * @export * @interface TxOutItem */ export interface TxOutItem { /** * * @type {number} * @memberof TxOutItem */ 'height'?: number; /** * * @type {string} * @memberof TxOutItem */ 'in_hash'?: string; /** * * @type {string} * @memberof TxOutItem */ 'out_hash'?: string; /** * * @type {string} * @memberof TxOutItem */ 'chain': string; /** * * @type {string} * @memberof TxOutItem */ 'to_address': string; /** * * @type {string} * @memberof TxOutItem */ 'vault_pub_key'?: string; /** * * @type {string} * @memberof TxOutItem */ 'vault_pub_key_eddsa'?: string; /** * * @type {string} * @memberof TxOutItem */ 'vault_pub_key_frost'?: string; /** * * @type {Coin} * @memberof TxOutItem */ 'coin': Coin; /** * * @type {Array} * @memberof TxOutItem */ 'max_gas': Array; /** * * @type {number} * @memberof TxOutItem */ 'gas_rate'?: number; /** * * @type {string} * @memberof TxOutItem */ 'memo'?: string; /** * * @type {string} * @memberof TxOutItem */ 'original_memo'?: string; /** * whitelisted DEX Aggregator contract address * @type {string} * @memberof TxOutItem */ 'aggregator'?: string; /** * target asset for the aggregator contract to attempt a swap to * @type {string} * @memberof TxOutItem */ 'aggregator_target_asset'?: string; /** * the minimum number of tokens the swapper wants to receive of the output asset * @type {string} * @memberof TxOutItem */ 'aggregator_target_limit'?: string; /** * clout spent in RUNE for the outbound * @type {string} * @memberof TxOutItem */ 'clout_spent'?: string; } /** * * @export * @interface TxResponse */ export interface TxResponse { /** * * @type {ObservedTx} * @memberof TxResponse */ 'observed_tx'?: ObservedTx; /** * the thorchain height at which the inbound reached consensus * @type {number} * @memberof TxResponse */ 'consensus_height'?: number; /** * the thorchain height at which the outbound was finalised * @type {number} * @memberof TxResponse */ 'finalised_height'?: number; /** * the thorchain height for which the outbound was scheduled * @type {number} * @memberof TxResponse */ 'outbound_height'?: number; /** * * @type {TssKeysignMetric} * @memberof TxResponse */ 'keysign_metric'?: TssKeysignMetric; } /** * * @export * @interface TxSignersResponse */ export interface TxSignersResponse { /** * * @type {string} * @memberof TxSignersResponse */ 'tx_id'?: string; /** * * @type {ObservedTx} * @memberof TxSignersResponse */ 'tx': ObservedTx; /** * * @type {Array} * @memberof TxSignersResponse */ 'txs': Array; /** * * @type {Array} * @memberof TxSignersResponse */ 'actions': Array; /** * * @type {Array} * @memberof TxSignersResponse */ 'out_txs': Array; /** * the thorchain height at which the inbound reached consensus * @type {number} * @memberof TxSignersResponse */ 'consensus_height'?: number; /** * the thorchain height at which the outbound was finalised * @type {number} * @memberof TxSignersResponse */ 'finalised_height'?: number; /** * * @type {boolean} * @memberof TxSignersResponse */ 'updated_vault'?: boolean; /** * * @type {boolean} * @memberof TxSignersResponse */ 'reverted'?: boolean; /** * the thorchain height for which the outbound was scheduled * @type {number} * @memberof TxSignersResponse */ 'outbound_height'?: number; } /** * * @export * @interface TxStagesResponse */ export interface TxStagesResponse { /** * * @type {InboundObservedStage} * @memberof TxStagesResponse */ 'inbound_observed': InboundObservedStage; /** * * @type {InboundConfirmationCountedStage} * @memberof TxStagesResponse */ 'inbound_confirmation_counted'?: InboundConfirmationCountedStage; /** * * @type {InboundFinalisedStage} * @memberof TxStagesResponse */ 'inbound_finalised'?: InboundFinalisedStage; /** * * @type {SwapStatus} * @memberof TxStagesResponse */ 'swap_status'?: SwapStatus; /** * * @type {SwapFinalisedStage} * @memberof TxStagesResponse */ 'swap_finalised'?: SwapFinalisedStage; /** * * @type {OutboundDelayStage} * @memberof TxStagesResponse */ 'outbound_delay'?: OutboundDelayStage; /** * * @type {OutboundSignedStage} * @memberof TxStagesResponse */ 'outbound_signed'?: OutboundSignedStage; } /** * * @export * @interface TxStatusResponse */ export interface TxStatusResponse { /** * * @type {Tx} * @memberof TxStatusResponse */ 'tx'?: Tx; /** * * @type {Array} * @memberof TxStatusResponse */ 'planned_out_txs'?: Array; /** * * @type {Array} * @memberof TxStatusResponse */ 'out_txs'?: Array; /** * * @type {TxStagesResponse} * @memberof TxStatusResponse */ 'stages': TxStagesResponse; } /** * * @export * @interface UpgradeProposal */ export interface UpgradeProposal { /** * the name of the upgrade * @type {string} * @memberof UpgradeProposal */ 'name': string; /** * the block height at which the upgrade will occur * @type {number} * @memberof UpgradeProposal */ 'height': number; /** * the description of the upgrade, typically json with URLs to binaries for use with automation tools * @type {string} * @memberof UpgradeProposal */ 'info': string; /** * whether the upgrade has been approved by the active validators * @type {boolean} * @memberof UpgradeProposal */ 'approved'?: boolean; /** * the percentage of active validators that have approved the upgrade * @type {string} * @memberof UpgradeProposal */ 'approved_percent'?: string; /** * the amount of additional active validators required to reach quorum for the upgrade * @type {number} * @memberof UpgradeProposal */ 'validators_to_quorum'?: number; /** * the list of node addresses that have approved the upgrade * @type {Array} * @memberof UpgradeProposal */ 'approvers'?: Array; /** * the list of node addresses that have rejected the upgrade * @type {Array} * @memberof UpgradeProposal */ 'rejecters'?: Array; } /** * * @export * @interface UpgradeProposalsResponse */ export interface UpgradeProposalsResponse extends Array { } /** * * @export * @interface UpgradeVote */ export interface UpgradeVote { /** * the node address of the voter * @type {string} * @memberof UpgradeVote */ 'node_address': string; /** * the vote cast by the node * @type {string} * @memberof UpgradeVote */ 'vote': UpgradeVoteVoteEnum; } export declare const UpgradeVoteVoteEnum: { readonly Approve: "approve"; readonly Reject: "reject"; }; export type UpgradeVoteVoteEnum = typeof UpgradeVoteVoteEnum[keyof typeof UpgradeVoteVoteEnum]; /** * * @export * @interface UpgradeVotesResponse */ export interface UpgradeVotesResponse extends Array { } /** * * @export * @interface Vault */ export interface Vault { /** * * @type {number} * @memberof Vault */ 'block_height'?: number; /** * * @type {string} * @memberof Vault */ 'pub_key'?: string; /** * * @type {string} * @memberof Vault */ 'pub_key_eddsa'?: string; /** * * @type {string} * @memberof Vault */ 'pub_key_frost'?: string; /** * * @type {Array} * @memberof Vault */ 'coins': Array; /** * * @type {Array} * @memberof Vault */ 'deficit'?: Array; /** * * @type {string} * @memberof Vault */ 'type'?: VaultTypeEnum; /** * * @type {string} * @memberof Vault */ 'status': string; /** * * @type {number} * @memberof Vault */ 'status_since'?: number; /** * the list of node public keys which are members of the vault * @type {Array} * @memberof Vault */ 'membership'?: Array; /** * * @type {Array} * @memberof Vault */ 'chains'?: Array; /** * * @type {number} * @memberof Vault */ 'inbound_tx_count'?: number; /** * * @type {number} * @memberof Vault */ 'outbound_tx_count'?: number; /** * * @type {Array} * @memberof Vault */ 'pending_tx_block_heights'?: Array; /** * * @type {Array} * @memberof Vault */ 'routers': Array; /** * * @type {Array} * @memberof Vault */ 'addresses': Array; /** * * @type {Array} * @memberof Vault */ 'frozen'?: Array; } export declare const VaultTypeEnum: { readonly AsgardVault: "AsgardVault"; readonly YggdrasilVault: "YggdrasilVault"; }; export type VaultTypeEnum = typeof VaultTypeEnum[keyof typeof VaultTypeEnum]; /** * * @export * @interface VaultAddress */ export interface VaultAddress { /** * * @type {string} * @memberof VaultAddress */ 'chain': string; /** * * @type {string} * @memberof VaultAddress */ 'address': string; } /** * * @export * @interface VaultInfo */ export interface VaultInfo { /** * * @type {string} * @memberof VaultInfo */ 'pub_key': string; /** * * @type {string} * @memberof VaultInfo */ 'pub_key_eddsa'?: string; /** * * @type {string} * @memberof VaultInfo */ 'pub_key_frost'?: string; /** * * @type {Array} * @memberof VaultInfo */ 'routers': Array; /** * the list of node public keys which are members of the vault * @type {Array} * @memberof VaultInfo */ 'membership'?: Array; } /** * * @export * @interface VaultPubkeysResponse */ export interface VaultPubkeysResponse { /** * * @type {Array} * @memberof VaultPubkeysResponse */ 'asgard': Array; /** * * @type {Array} * @memberof VaultPubkeysResponse */ 'yggdrasil': Array; /** * * @type {Array} * @memberof VaultPubkeysResponse */ 'inactive': Array; } /** * * @export * @interface VaultRouter */ export interface VaultRouter { /** * * @type {string} * @memberof VaultRouter */ 'chain'?: string; /** * * @type {string} * @memberof VaultRouter */ 'router'?: string; } /** * * @export * @interface VaultSolvencyAsset */ export interface VaultSolvencyAsset { /** * Asset identifier * @type {string} * @memberof VaultSolvencyAsset */ 'asset': string; /** * Solvency amount for the asset. Positive values indicate over-solvency, negative values indicate under-solvency. * @type {string} * @memberof VaultSolvencyAsset */ 'amount': string; } /** * * @export * @interface VaultSolvencyResponse */ export interface VaultSolvencyResponse { /** * * @type {Array} * @memberof VaultSolvencyResponse */ 'assets': Array; } /** * * @export * @interface VaultsResponse */ export interface VaultsResponse extends Array { } /** * * @export * @interface VersionResponse */ export interface VersionResponse { /** * current version * @type {string} * @memberof VersionResponse */ 'current': string; /** * next version (minimum version for a node to become Active) * @type {string} * @memberof VersionResponse */ 'next': string; /** * height at which the minimum joining version last changed * @type {number} * @memberof VersionResponse */ 'next_since_height'?: number; /** * querier version * @type {string} * @memberof VersionResponse */ 'querier': string; } /** * * @export * @interface YggdrasilVault */ export interface YggdrasilVault { /** * * @type {number} * @memberof YggdrasilVault */ 'block_height'?: number; /** * * @type {string} * @memberof YggdrasilVault */ 'pub_key'?: string; /** * * @type {Array} * @memberof YggdrasilVault */ 'coins': Array; /** * * @type {string} * @memberof YggdrasilVault */ 'type'?: YggdrasilVaultTypeEnum; /** * * @type {number} * @memberof YggdrasilVault */ 'status_since'?: number; /** * the list of node public keys which are members of the vault * @type {Array} * @memberof YggdrasilVault */ 'membership'?: Array; /** * * @type {Array} * @memberof YggdrasilVault */ 'chains'?: Array; /** * * @type {number} * @memberof YggdrasilVault */ 'inbound_tx_count'?: number; /** * * @type {number} * @memberof YggdrasilVault */ 'outbound_tx_count'?: number; /** * * @type {Array} * @memberof YggdrasilVault */ 'pending_tx_block_heights'?: Array; /** * * @type {Array} * @memberof YggdrasilVault */ 'routers': Array; /** * * @type {string} * @memberof YggdrasilVault */ 'status': string; /** * current node bond * @type {string} * @memberof YggdrasilVault */ 'bond': string; /** * value in rune of the vault\'s assets * @type {string} * @memberof YggdrasilVault */ 'total_value': string; /** * * @type {Array} * @memberof YggdrasilVault */ 'addresses': Array; } export declare const YggdrasilVaultTypeEnum: { readonly AsgardVault: "AsgardVault"; readonly YggdrasilVault: "YggdrasilVault"; }; export type YggdrasilVaultTypeEnum = typeof YggdrasilVaultTypeEnum[keyof typeof YggdrasilVaultTypeEnum]; /** * * @export * @interface YggdrasilVaultsResponse */ export interface YggdrasilVaultsResponse extends Array { } /** * AuthApi - axios parameter creator * @export */ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns account information for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ account: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * AuthApi - functional programming interface * @export */ export declare const AuthApiFp: (configuration?: Configuration) => { /** * Returns account information for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ account(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AuthApi - factory interface * @export */ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns account information for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ account(address: string, height?: number, options?: any): AxiosPromise; }; /** * AuthApi - object-oriented interface * @export * @class AuthApi * @extends {BaseAPI} */ export declare class AuthApi extends BaseAPI { /** * Returns account information for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ account(address: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * BankApi - axios parameter creator * @export */ export declare const BankApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns balances for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ balances: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * BankApi - functional programming interface * @export */ export declare const BankApiFp: (configuration?: Configuration) => { /** * Returns balances for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ balances(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * BankApi - factory interface * @export */ export declare const BankApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns balances for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ balances(address: string, height?: number, options?: any): AxiosPromise; }; /** * BankApi - object-oriented interface * @export * @class BankApi * @extends {BaseAPI} */ export declare class BankApi extends BaseAPI { /** * Returns balances for the provided address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BankApi */ balances(address: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * BlockApi - axios parameter creator * @export */ export declare const BlockApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns verbose details of the block. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ block: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * BlockApi - functional programming interface * @export */ export declare const BlockApiFp: (configuration?: Configuration) => { /** * Returns verbose details of the block. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ block(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * BlockApi - factory interface * @export */ export declare const BlockApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns verbose details of the block. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ block(height?: number, options?: any): AxiosPromise; }; /** * BlockApi - object-oriented interface * @export * @class BlockApi * @extends {BaseAPI} */ export declare class BlockApi extends BaseAPI { /** * Returns verbose details of the block. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BlockApi */ block(height?: number, options?: AxiosRequestConfig): Promise>; } /** * CloutApi - axios parameter creator * @export */ export declare const CloutApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the clout score of an address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ swapperClout: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * CloutApi - functional programming interface * @export */ export declare const CloutApiFp: (configuration?: Configuration) => { /** * Returns the clout score of an address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CloutApi - factory interface * @export */ export declare const CloutApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the clout score of an address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ swapperClout(address: string, height?: number, options?: any): AxiosPromise; }; /** * CloutApi - object-oriented interface * @export * @class CloutApi * @extends {BaseAPI} */ export declare class CloutApi extends BaseAPI { /** * Returns the clout score of an address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CloutApi */ swapperClout(address: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * CodesApi - axios parameter creator * @export */ export declare const CodesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns all whitelisted contract codes * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ codes: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * CodesApi - functional programming interface * @export */ export declare const CodesApiFp: (configuration?: Configuration) => { /** * Returns all whitelisted contract codes * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ codes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CodesApi - factory interface * @export */ export declare const CodesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns all whitelisted contract codes * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ codes(height?: number, options?: any): AxiosPromise; }; /** * CodesApi - object-oriented interface * @export * @class CodesApi * @extends {BaseAPI} */ export declare class CodesApi extends BaseAPI { /** * Returns all whitelisted contract codes * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CodesApi */ codes(height?: number, options?: AxiosRequestConfig): Promise>; } /** * DynamicL1FeesApi - axios parameter creator * @export */ export declare const DynamicL1FeesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns every stored dynamic L1 fee record (ADR-026). Each entry is a thorname/pair tuple with its current `dynamic_bps`, whitelist state, last active epoch, and latest sealed-epoch fees in TOR (1e8-precision USD value). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1Fees: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the dynamic L1 fee state and full epoch history for every pair tracked for the given thorname (ADR-026). * @param {string} thorname the thorname to look up dynamic fee state for * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1FeesByThorname: (thorname: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the in-progress (current epoch, not yet sealed) dynamic L1 fee accumulators (ADR-026). Each entry has the thorname/pair tuple and the live volume and fees recorded so far this epoch in TOR (1e8-precision USD value). The response also includes the current epoch number. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1FeesCurrent: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * DynamicL1FeesApi - functional programming interface * @export */ export declare const DynamicL1FeesApiFp: (configuration?: Configuration) => { /** * Returns every stored dynamic L1 fee record (ADR-026). Each entry is a thorname/pair tuple with its current `dynamic_bps`, whitelist state, last active epoch, and latest sealed-epoch fees in TOR (1e8-precision USD value). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1Fees(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the dynamic L1 fee state and full epoch history for every pair tracked for the given thorname (ADR-026). * @param {string} thorname the thorname to look up dynamic fee state for * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1FeesByThorname(thorname: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the in-progress (current epoch, not yet sealed) dynamic L1 fee accumulators (ADR-026). Each entry has the thorname/pair tuple and the live volume and fees recorded so far this epoch in TOR (1e8-precision USD value). The response also includes the current epoch number. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1FeesCurrent(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DynamicL1FeesApi - factory interface * @export */ export declare const DynamicL1FeesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns every stored dynamic L1 fee record (ADR-026). Each entry is a thorname/pair tuple with its current `dynamic_bps`, whitelist state, last active epoch, and latest sealed-epoch fees in TOR (1e8-precision USD value). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1Fees(height?: number, options?: any): AxiosPromise; /** * Returns the dynamic L1 fee state and full epoch history for every pair tracked for the given thorname (ADR-026). * @param {string} thorname the thorname to look up dynamic fee state for * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1FeesByThorname(thorname: string, height?: number, options?: any): AxiosPromise; /** * Returns the in-progress (current epoch, not yet sealed) dynamic L1 fee accumulators (ADR-026). Each entry has the thorname/pair tuple and the live volume and fees recorded so far this epoch in TOR (1e8-precision USD value). The response also includes the current epoch number. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dynamicL1FeesCurrent(height?: number, options?: any): AxiosPromise; }; /** * DynamicL1FeesApi - object-oriented interface * @export * @class DynamicL1FeesApi * @extends {BaseAPI} */ export declare class DynamicL1FeesApi extends BaseAPI { /** * Returns every stored dynamic L1 fee record (ADR-026). Each entry is a thorname/pair tuple with its current `dynamic_bps`, whitelist state, last active epoch, and latest sealed-epoch fees in TOR (1e8-precision USD value). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DynamicL1FeesApi */ dynamicL1Fees(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the dynamic L1 fee state and full epoch history for every pair tracked for the given thorname (ADR-026). * @param {string} thorname the thorname to look up dynamic fee state for * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DynamicL1FeesApi */ dynamicL1FeesByThorname(thorname: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the in-progress (current epoch, not yet sealed) dynamic L1 fee accumulators (ADR-026). Each entry has the thorname/pair tuple and the live volume and fees recorded so far this epoch in TOR (1e8-precision USD value). The response also includes the current epoch number. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DynamicL1FeesApi */ dynamicL1FeesCurrent(height?: number, options?: AxiosRequestConfig): Promise>; } /** * ExportApi - axios parameter creator * @export */ export declare const ExportApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns genesis export * @param {*} [options] Override http request option. * @throws {RequiredError} */ _export: (options?: AxiosRequestConfig) => Promise; }; /** * ExportApi - functional programming interface * @export */ export declare const ExportApiFp: (configuration?: Configuration) => { /** * Returns genesis export * @param {*} [options] Override http request option. * @throws {RequiredError} */ _export(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ExportApi - factory interface * @export */ export declare const ExportApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns genesis export * @param {*} [options] Override http request option. * @throws {RequiredError} */ _export(options?: any): AxiosPromise; }; /** * ExportApi - object-oriented interface * @export * @class ExportApi * @extends {BaseAPI} */ export declare class ExportApi extends BaseAPI { /** * Returns genesis export * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ExportApi */ _export(options?: AxiosRequestConfig): Promise>; } /** * HealthApi - axios parameter creator * @export */ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ ping: (options?: AxiosRequestConfig) => Promise; }; /** * HealthApi - functional programming interface * @export */ export declare const HealthApiFp: (configuration?: Configuration) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ ping(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * HealthApi - factory interface * @export */ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ ping(options?: any): AxiosPromise; }; /** * HealthApi - object-oriented interface * @export * @class HealthApi * @extends {BaseAPI} */ export declare class HealthApi extends BaseAPI { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof HealthApi */ ping(options?: AxiosRequestConfig): Promise>; } /** * InvariantsApi - axios parameter creator * @export */ export declare const InvariantsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns result of running the given invariant. * @param {string} invariant * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ invariant: (invariant: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns a list of available invariants. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ invariants: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * InvariantsApi - functional programming interface * @export */ export declare const InvariantsApiFp: (configuration?: Configuration) => { /** * Returns result of running the given invariant. * @param {string} invariant * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ invariant(invariant: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of available invariants. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ invariants(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * InvariantsApi - factory interface * @export */ export declare const InvariantsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns result of running the given invariant. * @param {string} invariant * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ invariant(invariant: string, height?: number, options?: any): AxiosPromise; /** * Returns a list of available invariants. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ invariants(height?: number, options?: any): AxiosPromise; }; /** * InvariantsApi - object-oriented interface * @export * @class InvariantsApi * @extends {BaseAPI} */ export declare class InvariantsApi extends BaseAPI { /** * Returns result of running the given invariant. * @param {string} invariant * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof InvariantsApi */ invariant(invariant: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns a list of available invariants. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof InvariantsApi */ invariants(height?: number, options?: AxiosRequestConfig): Promise>; } /** * LimitOrderApi - axios parameter creator * @export */ export declare const LimitOrderApiAxiosParamCreator: (configuration?: Configuration) => { /** * Provide a limit order quote and memo for the provided limit order * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [customTtl] the custom TTL in blocks for limit orders * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} */ quotelimit: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise; }; /** * LimitOrderApi - functional programming interface * @export */ export declare const LimitOrderApiFp: (configuration?: Configuration) => { /** * Provide a limit order quote and memo for the provided limit order * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [customTtl] the custom TTL in blocks for limit orders * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} */ quotelimit(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LimitOrderApi - factory interface * @export */ export declare const LimitOrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Provide a limit order quote and memo for the provided limit order * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [customTtl] the custom TTL in blocks for limit orders * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} */ quotelimit(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise; }; /** * LimitOrderApi - object-oriented interface * @export * @class LimitOrderApi * @extends {BaseAPI} */ export declare class LimitOrderApi extends BaseAPI { /** * Provide a limit order quote and memo for the provided limit order * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [customTtl] the custom TTL in blocks for limit orders * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LimitOrderApi */ quotelimit(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, customTtl?: number, streamingQuantity?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise>; } /** * LiquidityProvidersApi - axios parameter creator * @export */ export declare const LiquidityProvidersApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the liquidity provider information for an address and asset. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ liquidityProvider: (asset: string, address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all liquidity provider information for an asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ liquidityProviders: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * LiquidityProvidersApi - functional programming interface * @export */ export declare const LiquidityProvidersApiFp: (configuration?: Configuration) => { /** * Returns the liquidity provider information for an address and asset. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all liquidity provider information for an asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LiquidityProvidersApi - factory interface * @export */ export declare const LiquidityProvidersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the liquidity provider information for an address and asset. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ liquidityProvider(asset: string, address: string, height?: number, options?: any): AxiosPromise; /** * Returns all liquidity provider information for an asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ liquidityProviders(asset: string, height?: number, options?: any): AxiosPromise; }; /** * LiquidityProvidersApi - object-oriented interface * @export * @class LiquidityProvidersApi * @extends {BaseAPI} */ export declare class LiquidityProvidersApi extends BaseAPI { /** * Returns the liquidity provider information for an address and asset. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LiquidityProvidersApi */ liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all liquidity provider information for an asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LiquidityProvidersApi */ liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * MimirApi - axios parameter creator * @export */ export declare const MimirApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns current active mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimir: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns current admin mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirAdmin: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns current active mimir configuration for the provided key. * @param {string} key the mimir key to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirKey: (key: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns current node mimir configuration for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirNode: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns current node mimir votes. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirNodes: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * MimirApi - functional programming interface * @export */ export declare const MimirApiFp: (configuration?: Configuration) => { /** * Returns current active mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimir(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns current admin mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns current active mimir configuration for the provided key. * @param {string} key the mimir key to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirKey(key: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns current node mimir configuration for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns current node mimir votes. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirNodes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * MimirApi - factory interface * @export */ export declare const MimirApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns current active mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimir(height?: number, options?: any): AxiosPromise; /** * Returns current admin mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirAdmin(height?: number, options?: any): AxiosPromise; /** * Returns current active mimir configuration for the provided key. * @param {string} key the mimir key to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirKey(key: string, height?: number, options?: any): AxiosPromise; /** * Returns current node mimir configuration for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirNode(address: string, height?: number, options?: any): AxiosPromise; /** * Returns current node mimir votes. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ mimirNodes(height?: number, options?: any): AxiosPromise; }; /** * MimirApi - object-oriented interface * @export * @class MimirApi * @extends {BaseAPI} */ export declare class MimirApi extends BaseAPI { /** * Returns current active mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MimirApi */ mimir(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns current admin mimir configuration. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MimirApi */ mimirAdmin(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns current active mimir configuration for the provided key. * @param {string} key the mimir key to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MimirApi */ mimirKey(key: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns current node mimir configuration for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MimirApi */ mimirNode(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns current node mimir votes. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MimirApi */ mimirNodes(height?: number, options?: AxiosRequestConfig): Promise>; } /** * NetworkApi - axios parameter creator * @export */ export declare const NetworkApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the ban status for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ ban: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns constant configuration, can be overridden by mimir. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ constants: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the set of asgard addresses that should be used for inbound transactions. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ inboundAddresses: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ lastblock: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the last block information for the provided chain. * @param {string} chain * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ lastblockChain: (chain: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns network overview statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ network: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the outbound fee information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ outboundFeeAsset: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ outboundFees: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns a boolean indicating whether the chain is in ragnarok. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ ragnarok: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the upgrade proposal for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeProposal: (name: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the current upgrade proposals. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeProposals: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the upgrade votes for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeVotes: (name: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ version: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * NetworkApi - functional programming interface * @export */ export declare const NetworkApiFp: (configuration?: Configuration) => { /** * Returns the ban status for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ ban(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns constant configuration, can be overridden by mimir. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ constants(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the set of asgard addresses that should be used for inbound transactions. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ lastblock(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the last block information for the provided chain. * @param {string} chain * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns network overview statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ network(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the outbound fee information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ outboundFees(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a boolean indicating whether the chain is in ragnarok. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ ragnarok(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the upgrade proposal for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeProposal(name: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the current upgrade proposals. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeProposals(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the upgrade votes for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeVotes(name: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ version(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * NetworkApi - factory interface * @export */ export declare const NetworkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the ban status for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ ban(address: string, height?: number, options?: any): AxiosPromise; /** * Returns constant configuration, can be overridden by mimir. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ constants(height?: number, options?: any): AxiosPromise; /** * Returns the set of asgard addresses that should be used for inbound transactions. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ inboundAddresses(height?: number, options?: any): AxiosPromise; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ lastblock(height?: number, options?: any): AxiosPromise; /** * Returns the last block information for the provided chain. * @param {string} chain * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ lastblockChain(chain: string, height?: number, options?: any): AxiosPromise; /** * Returns network overview statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ network(height?: number, options?: any): AxiosPromise; /** * Returns the outbound fee information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ outboundFeeAsset(asset: string, height?: number, options?: any): AxiosPromise; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ outboundFees(height?: number, options?: any): AxiosPromise; /** * Returns a boolean indicating whether the chain is in ragnarok. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ ragnarok(height?: number, options?: any): AxiosPromise; /** * Returns the upgrade proposal for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeProposal(name: string, height?: number, options?: any): AxiosPromise; /** * Returns the current upgrade proposals. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeProposals(height?: number, options?: any): AxiosPromise; /** * Returns the upgrade votes for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ upgradeVotes(name: string, height?: number, options?: any): AxiosPromise; /** * Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ version(height?: number, options?: any): AxiosPromise; }; /** * NetworkApi - object-oriented interface * @export * @class NetworkApi * @extends {BaseAPI} */ export declare class NetworkApi extends BaseAPI { /** * Returns the ban status for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ ban(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns constant configuration, can be overridden by mimir. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ constants(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the set of asgard addresses that should be used for inbound transactions. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ inboundAddresses(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ lastblock(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the last block information for the provided chain. * @param {string} chain * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ lastblockChain(chain: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns network overview statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ network(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the outbound fee information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the last block information for all chains. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ outboundFees(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns a boolean indicating whether the chain is in ragnarok. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ ragnarok(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the upgrade proposal for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ upgradeProposal(name: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the current upgrade proposals. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ upgradeProposals(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the upgrade votes for the provided name. * @param {string} name * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ upgradeVotes(name: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the network\'s current THORNode version, the network\'s next THORNode version, and the querier\'s THORNode version. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ version(height?: number, options?: AxiosRequestConfig): Promise>; } /** * NodesApi - axios parameter creator * @export */ export declare const NodesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns node information for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ node: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns node information for all registered validators. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ nodes: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * NodesApi - functional programming interface * @export */ export declare const NodesApiFp: (configuration?: Configuration) => { /** * Returns node information for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ node(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns node information for all registered validators. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ nodes(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * NodesApi - factory interface * @export */ export declare const NodesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns node information for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ node(address: string, height?: number, options?: any): AxiosPromise; /** * Returns node information for all registered validators. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ nodes(height?: number, options?: any): AxiosPromise; }; /** * NodesApi - object-oriented interface * @export * @class NodesApi * @extends {BaseAPI} */ export declare class NodesApi extends BaseAPI { /** * Returns node information for the provided node address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NodesApi */ node(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns node information for all registered validators. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NodesApi */ nodes(height?: number, options?: AxiosRequestConfig): Promise>; } /** * OracleApi - axios parameter creator * @export */ export declare const OracleApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns oracle price for a symbol. * @param {string} symbol * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ oraclePrice: (symbol: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all available oracle prices. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ oraclePrices: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * OracleApi - functional programming interface * @export */ export declare const OracleApiFp: (configuration?: Configuration) => { /** * Returns oracle price for a symbol. * @param {string} symbol * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ oraclePrice(symbol: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all available oracle prices. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ oraclePrices(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * OracleApi - factory interface * @export */ export declare const OracleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns oracle price for a symbol. * @param {string} symbol * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ oraclePrice(symbol: string, height?: number, options?: any): AxiosPromise; /** * Returns all available oracle prices. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ oraclePrices(height?: number, options?: any): AxiosPromise; }; /** * OracleApi - object-oriented interface * @export * @class OracleApi * @extends {BaseAPI} */ export declare class OracleApi extends BaseAPI { /** * Returns oracle price for a symbol. * @param {string} symbol * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OracleApi */ oraclePrice(symbol: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all available oracle prices. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OracleApi */ oraclePrices(height?: number, options?: AxiosRequestConfig): Promise>; } /** * PoolSlipApi - axios parameter creator * @export */ export declare const PoolSlipApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the pool slip information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ poolslip: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the pool slip information for all Available Layer 1 pool assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ poolslips: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * PoolSlipApi - functional programming interface * @export */ export declare const PoolSlipApiFp: (configuration?: Configuration) => { /** * Returns the pool slip information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the pool slip information for all Available Layer 1 pool assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ poolslips(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PoolSlipApi - factory interface * @export */ export declare const PoolSlipApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the pool slip information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ poolslip(asset: string, height?: number, options?: any): AxiosPromise; /** * Returns the pool slip information for all Available Layer 1 pool assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ poolslips(height?: number, options?: any): AxiosPromise; }; /** * PoolSlipApi - object-oriented interface * @export * @class PoolSlipApi * @extends {BaseAPI} */ export declare class PoolSlipApi extends BaseAPI { /** * Returns the pool slip information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolSlipApi */ poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the pool slip information for all Available Layer 1 pool assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolSlipApi */ poolslips(height?: number, options?: AxiosRequestConfig): Promise>; } /** * PoolsApi - axios parameter creator * @export */ export declare const PoolsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the pool information for the provided derived asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dpool: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the pool information for all derived assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dpools: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the pool information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ pool: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the pool information for all assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ pools: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * PoolsApi - functional programming interface * @export */ export declare const PoolsApiFp: (configuration?: Configuration) => { /** * Returns the pool information for the provided derived asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dpool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the pool information for all derived assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dpools(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the pool information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ pool(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the pool information for all assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ pools(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PoolsApi - factory interface * @export */ export declare const PoolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the pool information for the provided derived asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dpool(asset: string, height?: number, options?: any): AxiosPromise; /** * Returns the pool information for all derived assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ dpools(height?: number, options?: any): AxiosPromise; /** * Returns the pool information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ pool(asset: string, height?: number, options?: any): AxiosPromise; /** * Returns the pool information for all assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ pools(height?: number, options?: any): AxiosPromise; }; /** * PoolsApi - object-oriented interface * @export * @class PoolsApi * @extends {BaseAPI} */ export declare class PoolsApi extends BaseAPI { /** * Returns the pool information for the provided derived asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ dpool(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the pool information for all derived assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ dpools(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the pool information for the provided asset. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ pool(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the pool information for all assets. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ pools(height?: number, options?: AxiosRequestConfig): Promise>; } /** * QueueApi - axios parameter creator * @export */ export declare const QueueApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns limit swaps with pagination and filtering. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {string} [sender] Filter by sender address * @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field * @param {'asc' | 'desc'} [sortOrder] Sort order * @param {*} [options] Override http request option. * @throws {RequiredError} */ limitSwaps: (height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: "ratio" | "age" | "amount" | "created_height", sortOrder?: "asc" | "desc", options?: AxiosRequestConfig) => Promise; /** * Returns limit swaps summary statistics. * @param {number} [height] optional block height, defaults to current tip * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {*} [options] Override http request option. * @throws {RequiredError} */ limitSwapsSummary: (height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig) => Promise; /** * Returns queue statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queue: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the outbound queue including estimated RUNE values. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueOutbound: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the scheduled queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueScheduled: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the swap queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueSwap: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the swap queue with pagination. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueSwapPaginated: (height?: number, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise; }; /** * QueueApi - functional programming interface * @export */ export declare const QueueApiFp: (configuration?: Configuration) => { /** * Returns limit swaps with pagination and filtering. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {string} [sender] Filter by sender address * @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field * @param {'asc' | 'desc'} [sortOrder] Sort order * @param {*} [options] Override http request option. * @throws {RequiredError} */ limitSwaps(height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: "ratio" | "age" | "amount" | "created_height", sortOrder?: "asc" | "desc", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns limit swaps summary statistics. * @param {number} [height] optional block height, defaults to current tip * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {*} [options] Override http request option. * @throws {RequiredError} */ limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns queue statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queue(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the outbound queue including estimated RUNE values. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueOutbound(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the scheduled queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueScheduled(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the swap queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueSwap(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the swap queue with pagination. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueSwapPaginated(height?: number, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * QueueApi - factory interface * @export */ export declare const QueueApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns limit swaps with pagination and filtering. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {string} [sender] Filter by sender address * @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field * @param {'asc' | 'desc'} [sortOrder] Sort order * @param {*} [options] Override http request option. * @throws {RequiredError} */ limitSwaps(height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: "ratio" | "age" | "amount" | "created_height", sortOrder?: "asc" | "desc", options?: any): AxiosPromise; /** * Returns limit swaps summary statistics. * @param {number} [height] optional block height, defaults to current tip * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {*} [options] Override http request option. * @throws {RequiredError} */ limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: any): AxiosPromise; /** * Returns queue statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queue(height?: number, options?: any): AxiosPromise; /** * Returns the outbound queue including estimated RUNE values. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueOutbound(height?: number, options?: any): AxiosPromise; /** * Returns the scheduled queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueScheduled(height?: number, options?: any): AxiosPromise; /** * Returns the swap queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueSwap(height?: number, options?: any): AxiosPromise; /** * Returns the swap queue with pagination. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {*} [options] Override http request option. * @throws {RequiredError} */ queueSwapPaginated(height?: number, offset?: number, limit?: number, options?: any): AxiosPromise; }; /** * QueueApi - object-oriented interface * @export * @class QueueApi * @extends {BaseAPI} */ export declare class QueueApi extends BaseAPI { /** * Returns limit swaps with pagination and filtering. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {string} [sender] Filter by sender address * @param {'ratio' | 'age' | 'amount' | 'created_height'} [sortBy] Sort by field * @param {'asc' | 'desc'} [sortOrder] Sort order * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ limitSwaps(height?: number, offset?: number, limit?: number, sourceAsset?: string, targetAsset?: string, sender?: string, sortBy?: 'ratio' | 'age' | 'amount' | 'created_height', sortOrder?: 'asc' | 'desc', options?: AxiosRequestConfig): Promise>; /** * Returns limit swaps summary statistics. * @param {number} [height] optional block height, defaults to current tip * @param {string} [sourceAsset] Filter by source asset (e.g., \"BTC.BTC\") * @param {string} [targetAsset] Filter by target asset (e.g., \"ETH.ETH\") * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ limitSwapsSummary(height?: number, sourceAsset?: string, targetAsset?: string, options?: AxiosRequestConfig): Promise>; /** * Returns queue statistics. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ queue(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the outbound queue including estimated RUNE values. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ queueOutbound(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the scheduled queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ queueScheduled(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the swap queue. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ queueSwap(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the swap queue with pagination. * @param {number} [height] optional block height, defaults to current tip * @param {number} [offset] Number of items to skip * @param {number} [limit] Number of items to return * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QueueApi */ queueSwapPaginated(height?: number, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise>; } /** * QuoteApi - axios parameter creator * @export */ export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration) => { /** * Provide a quote estimate for the provided swap. * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [streamingInterval] the interval in which streaming swaps are swapped * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} */ quoteswap: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise; }; /** * QuoteApi - functional programming interface * @export */ export declare const QuoteApiFp: (configuration?: Configuration) => { /** * Provide a quote estimate for the provided swap. * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [streamingInterval] the interval in which streaming swaps are swapped * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} */ quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * QuoteApi - factory interface * @export */ export declare const QuoteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Provide a quote estimate for the provided swap. * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [streamingInterval] the interval in which streaming swaps are swapped * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} */ quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise; }; /** * QuoteApi - object-oriented interface * @export * @class QuoteApi * @extends {BaseAPI} */ export declare class QuoteApi extends BaseAPI { /** * Provide a quote estimate for the provided swap. * @param {number} [height] optional block height, defaults to current tip * @param {string} [fromAsset] the source asset * @param {string} [toAsset] the target asset * @param {number} [amount] the source asset amount in 1e8 decimals * @param {string} [destination] the destination address, required to generate memo * @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails * @param {number} [streamingInterval] the interval in which streaming swaps are swapped * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo * @param {number} [affiliateBps] the affiliate fee in basis points * @param {string} [affiliate] the affiliate (address or thorname) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QuoteApi */ quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise>; } /** * RUNEPoolApi - axios parameter creator * @export */ export declare const RUNEPoolApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the pool information for the RUNE pool. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runePool: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the RUNE Provider information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runeProvider: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all RUNE Providers. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runeProviders: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * RUNEPoolApi - functional programming interface * @export */ export declare const RUNEPoolApiFp: (configuration?: Configuration) => { /** * Returns the pool information for the RUNE pool. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runePool(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the RUNE Provider information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runeProvider(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all RUNE Providers. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runeProviders(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * RUNEPoolApi - factory interface * @export */ export declare const RUNEPoolApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the pool information for the RUNE pool. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runePool(height?: number, options?: any): AxiosPromise; /** * Returns the RUNE Provider information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runeProvider(address: string, height?: number, options?: any): AxiosPromise; /** * Returns all RUNE Providers. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ runeProviders(height?: number, options?: any): AxiosPromise; }; /** * RUNEPoolApi - object-oriented interface * @export * @class RUNEPoolApi * @extends {BaseAPI} */ export declare class RUNEPoolApi extends BaseAPI { /** * Returns the pool information for the RUNE pool. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RUNEPoolApi */ runePool(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the RUNE Provider information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RUNEPoolApi */ runeProvider(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all RUNE Providers. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RUNEPoolApi */ runeProviders(height?: number, options?: AxiosRequestConfig): Promise>; } /** * ReferenceMemosApi - axios parameter creator * @export */ export declare const ReferenceMemosApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the memoless transaction memo for the provided asset and reference number. * @param {string} asset * @param {string} reference the reference number to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemo: (asset: string, reference: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the memoless transaction memo for the provided reference hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemoByHash: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration. * @param {string} asset * @param {string} amount the transaction amount in base units to check * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemoCheck: (asset: string, amount: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * ReferenceMemosApi - functional programming interface * @export */ export declare const ReferenceMemosApiFp: (configuration?: Configuration) => { /** * Returns the memoless transaction memo for the provided asset and reference number. * @param {string} asset * @param {string} reference the reference number to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemo(asset: string, reference: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the memoless transaction memo for the provided reference hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemoByHash(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration. * @param {string} asset * @param {string} amount the transaction amount in base units to check * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemoCheck(asset: string, amount: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ReferenceMemosApi - factory interface * @export */ export declare const ReferenceMemosApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the memoless transaction memo for the provided asset and reference number. * @param {string} asset * @param {string} reference the reference number to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemo(asset: string, reference: string, height?: number, options?: any): AxiosPromise; /** * Returns the memoless transaction memo for the provided reference hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemoByHash(hash: string, height?: number, options?: any): AxiosPromise; /** * Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration. * @param {string} asset * @param {string} amount the transaction amount in base units to check * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ referenceMemoCheck(asset: string, amount: string, height?: number, options?: any): AxiosPromise; }; /** * ReferenceMemosApi - object-oriented interface * @export * @class ReferenceMemosApi * @extends {BaseAPI} */ export declare class ReferenceMemosApi extends BaseAPI { /** * Returns the memoless transaction memo for the provided asset and reference number. * @param {string} asset * @param {string} reference the reference number to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ReferenceMemosApi */ referenceMemo(asset: string, reference: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the memoless transaction memo for the provided reference hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ReferenceMemosApi */ referenceMemoByHash(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it\'s available for registration. * @param {string} asset * @param {string} amount the transaction amount in base units to check * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ReferenceMemosApi */ referenceMemoCheck(asset: string, amount: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * SaversApi - axios parameter creator * @export */ export declare const SaversApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the saver position given then savers pool and address. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ saver: (asset: string, address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all savers for the savers pool. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ savers: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * SaversApi - functional programming interface * @export */ export declare const SaversApiFp: (configuration?: Configuration) => { /** * Returns the saver position given then savers pool and address. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ saver(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all savers for the savers pool. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ savers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SaversApi - factory interface * @export */ export declare const SaversApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the saver position given then savers pool and address. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ saver(asset: string, address: string, height?: number, options?: any): AxiosPromise; /** * Returns all savers for the savers pool. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ savers(asset: string, height?: number, options?: any): AxiosPromise; }; /** * SaversApi - object-oriented interface * @export * @class SaversApi * @extends {BaseAPI} */ export declare class SaversApi extends BaseAPI { /** * Returns the saver position given then savers pool and address. * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SaversApi */ saver(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all savers for the savers pool. * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SaversApi */ savers(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * SecuredAssetApi - axios parameter creator * @export */ export declare const SecuredAssetApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the total size and ratio of a secured asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ securedAsset: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * SecuredAssetApi - functional programming interface * @export */ export declare const SecuredAssetApiFp: (configuration?: Configuration) => { /** * Returns the total size and ratio of a secured asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ securedAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SecuredAssetApi - factory interface * @export */ export declare const SecuredAssetApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the total size and ratio of a secured asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ securedAsset(asset: string, height?: number, options?: any): AxiosPromise; }; /** * SecuredAssetApi - object-oriented interface * @export * @class SecuredAssetApi * @extends {BaseAPI} */ export declare class SecuredAssetApi extends BaseAPI { /** * Returns the total size and ratio of a secured asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecuredAssetApi */ securedAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * SecuredAssetsApi - axios parameter creator * @export */ export declare const SecuredAssetsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the total size and ratio of all secured asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ securedAssets: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * SecuredAssetsApi - functional programming interface * @export */ export declare const SecuredAssetsApiFp: (configuration?: Configuration) => { /** * Returns the total size and ratio of all secured asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ securedAssets(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SecuredAssetsApi - factory interface * @export */ export declare const SecuredAssetsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the total size and ratio of all secured asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ securedAssets(height?: number, options?: any): AxiosPromise; }; /** * SecuredAssetsApi - object-oriented interface * @export * @class SecuredAssetsApi * @extends {BaseAPI} */ export declare class SecuredAssetsApi extends BaseAPI { /** * Returns the total size and ratio of all secured asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SecuredAssetsApi */ securedAssets(height?: number, options?: AxiosRequestConfig): Promise>; } /** * SmartContractsApi - axios parameter creator * @export */ export declare const SmartContractsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns type and version from `contract_info` for requested address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ contractInfo: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns type and version for all contracts with stored `contract_info` * @param {number} [height] optional block height, defaults to current tip * @param {string} [contract] optional contract type prefix to filter results * @param {string} [version] optional contract version prefix to filter results * @param {*} [options] Override http request option. * @throws {RequiredError} */ contractInfos: (height?: number, contract?: string, version?: string, options?: AxiosRequestConfig) => Promise; }; /** * SmartContractsApi - functional programming interface * @export */ export declare const SmartContractsApiFp: (configuration?: Configuration) => { /** * Returns type and version from `contract_info` for requested address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ contractInfo(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns type and version for all contracts with stored `contract_info` * @param {number} [height] optional block height, defaults to current tip * @param {string} [contract] optional contract type prefix to filter results * @param {string} [version] optional contract version prefix to filter results * @param {*} [options] Override http request option. * @throws {RequiredError} */ contractInfos(height?: number, contract?: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SmartContractsApi - factory interface * @export */ export declare const SmartContractsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns type and version from `contract_info` for requested address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ contractInfo(address: string, height?: number, options?: any): AxiosPromise; /** * Returns type and version for all contracts with stored `contract_info` * @param {number} [height] optional block height, defaults to current tip * @param {string} [contract] optional contract type prefix to filter results * @param {string} [version] optional contract version prefix to filter results * @param {*} [options] Override http request option. * @throws {RequiredError} */ contractInfos(height?: number, contract?: string, version?: string, options?: any): AxiosPromise; }; /** * SmartContractsApi - object-oriented interface * @export * @class SmartContractsApi * @extends {BaseAPI} */ export declare class SmartContractsApi extends BaseAPI { /** * Returns type and version from `contract_info` for requested address * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SmartContractsApi */ contractInfo(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns type and version for all contracts with stored `contract_info` * @param {number} [height] optional block height, defaults to current tip * @param {string} [contract] optional contract type prefix to filter results * @param {string} [version] optional contract version prefix to filter results * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SmartContractsApi */ contractInfos(height?: number, contract?: string, version?: string, options?: AxiosRequestConfig): Promise>; } /** * StableReserveApi - axios parameter creator * @export */ export declare const StableReserveApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns Stable Reserve module status, inventory health, deployment stream settings, and active internal swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ stableReserve: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns a contributor\'s Stable Reserve credit for the given asset * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ stableReserveContributor: (asset: string, address: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * StableReserveApi - functional programming interface * @export */ export declare const StableReserveApiFp: (configuration?: Configuration) => { /** * Returns Stable Reserve module status, inventory health, deployment stream settings, and active internal swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ stableReserve(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a contributor\'s Stable Reserve credit for the given asset * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ stableReserveContributor(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * StableReserveApi - factory interface * @export */ export declare const StableReserveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns Stable Reserve module status, inventory health, deployment stream settings, and active internal swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ stableReserve(height?: number, options?: any): AxiosPromise; /** * Returns a contributor\'s Stable Reserve credit for the given asset * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ stableReserveContributor(asset: string, address: string, height?: number, options?: any): AxiosPromise; }; /** * StableReserveApi - object-oriented interface * @export * @class StableReserveApi * @extends {BaseAPI} */ export declare class StableReserveApi extends BaseAPI { /** * Returns Stable Reserve module status, inventory health, deployment stream settings, and active internal swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StableReserveApi */ stableReserve(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns a contributor\'s Stable Reserve credit for the given asset * @param {string} asset * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StableReserveApi */ stableReserveContributor(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * StreamingSwapApi - axios parameter creator * @export */ export declare const StreamingSwapApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the state of a streaming swap * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ streamSwap: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the state of all streaming swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ streamSwaps: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * StreamingSwapApi - functional programming interface * @export */ export declare const StreamingSwapApiFp: (configuration?: Configuration) => { /** * Returns the state of a streaming swap * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ streamSwap(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the state of all streaming swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ streamSwaps(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * StreamingSwapApi - factory interface * @export */ export declare const StreamingSwapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the state of a streaming swap * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ streamSwap(hash: string, height?: number, options?: any): AxiosPromise; /** * Returns the state of all streaming swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ streamSwaps(height?: number, options?: any): AxiosPromise; }; /** * StreamingSwapApi - object-oriented interface * @export * @class StreamingSwapApi * @extends {BaseAPI} */ export declare class StreamingSwapApi extends BaseAPI { /** * Returns the state of a streaming swap * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StreamingSwapApi */ streamSwap(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the state of all streaming swaps * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StreamingSwapApi */ streamSwaps(height?: number, options?: AxiosRequestConfig): Promise>; } /** * SupplyApi - axios parameter creator * @export */ export declare const SupplyApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the RUNE supply breakdown. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ supply: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns a single supply value as plain text for CoinMarketCap integration. * @param {'circulating' | 'total' | 'locked' | 'staked'} type The type of supply value to return. * @param {'rune' | 'tcy'} [asset] The asset to query supply for (default rune). * @param {*} [options] Override http request option. * @throws {RequiredError} */ supplyCmc: (type: "circulating" | "total" | "locked" | "staked", asset?: "rune" | "tcy", options?: AxiosRequestConfig) => Promise; }; /** * SupplyApi - functional programming interface * @export */ export declare const SupplyApiFp: (configuration?: Configuration) => { /** * Returns the RUNE supply breakdown. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ supply(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a single supply value as plain text for CoinMarketCap integration. * @param {'circulating' | 'total' | 'locked' | 'staked'} type The type of supply value to return. * @param {'rune' | 'tcy'} [asset] The asset to query supply for (default rune). * @param {*} [options] Override http request option. * @throws {RequiredError} */ supplyCmc(type: "circulating" | "total" | "locked" | "staked", asset?: "rune" | "tcy", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SupplyApi - factory interface * @export */ export declare const SupplyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the RUNE supply breakdown. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ supply(height?: number, options?: any): AxiosPromise; /** * Returns a single supply value as plain text for CoinMarketCap integration. * @param {'circulating' | 'total' | 'locked' | 'staked'} type The type of supply value to return. * @param {'rune' | 'tcy'} [asset] The asset to query supply for (default rune). * @param {*} [options] Override http request option. * @throws {RequiredError} */ supplyCmc(type: "circulating" | "total" | "locked" | "staked", asset?: "rune" | "tcy", options?: any): AxiosPromise; }; /** * SupplyApi - object-oriented interface * @export * @class SupplyApi * @extends {BaseAPI} */ export declare class SupplyApi extends BaseAPI { /** * Returns the RUNE supply breakdown. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SupplyApi */ supply(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns a single supply value as plain text for CoinMarketCap integration. * @param {'circulating' | 'total' | 'locked' | 'staked'} type The type of supply value to return. * @param {'rune' | 'tcy'} [asset] The asset to query supply for (default rune). * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SupplyApi */ supplyCmc(type: 'circulating' | 'total' | 'locked' | 'staked', asset?: 'rune' | 'tcy', options?: AxiosRequestConfig): Promise>; } /** * SwapApi - axios parameter creator * @export */ export declare const SwapApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns detailed information about a specific swap including its state. * @param {string} txId Transaction ID of the swap * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ swapDetails: (txId: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * SwapApi - functional programming interface * @export */ export declare const SwapApiFp: (configuration?: Configuration) => { /** * Returns detailed information about a specific swap including its state. * @param {string} txId Transaction ID of the swap * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ swapDetails(txId: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SwapApi - factory interface * @export */ export declare const SwapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns detailed information about a specific swap including its state. * @param {string} txId Transaction ID of the swap * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ swapDetails(txId: string, height?: number, options?: any): AxiosPromise; }; /** * SwapApi - object-oriented interface * @export * @class SwapApi * @extends {BaseAPI} */ export declare class SwapApi extends BaseAPI { /** * Returns detailed information about a specific swap including its state. * @param {string} txId Transaction ID of the swap * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SwapApi */ swapDetails(txId: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * TCYClaimersApi - axios parameter creator * @export */ export declare const TCYClaimersApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the tcy claimer information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyClaimer: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all tcy claimers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyClaimers: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the amount of TCY held by the claim module in excess of the outstanding tcy_claimer entitlements (protocol-owned TCY accumulated by the claim-module rune→TCY swap cycle). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyProtocolOwned: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TCYClaimersApi - functional programming interface * @export */ export declare const TCYClaimersApiFp: (configuration?: Configuration) => { /** * Returns the tcy claimer information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyClaimer(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all tcy claimers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyClaimers(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the amount of TCY held by the claim module in excess of the outstanding tcy_claimer entitlements (protocol-owned TCY accumulated by the claim-module rune→TCY swap cycle). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyProtocolOwned(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TCYClaimersApi - factory interface * @export */ export declare const TCYClaimersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the tcy claimer information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyClaimer(address: string, height?: number, options?: any): AxiosPromise; /** * Returns all tcy claimers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyClaimers(height?: number, options?: any): AxiosPromise; /** * Returns the amount of TCY held by the claim module in excess of the outstanding tcy_claimer entitlements (protocol-owned TCY accumulated by the claim-module rune→TCY swap cycle). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyProtocolOwned(height?: number, options?: any): AxiosPromise; }; /** * TCYClaimersApi - object-oriented interface * @export * @class TCYClaimersApi * @extends {BaseAPI} */ export declare class TCYClaimersApi extends BaseAPI { /** * Returns the tcy claimer information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TCYClaimersApi */ tcyClaimer(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all tcy claimers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TCYClaimersApi */ tcyClaimers(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the amount of TCY held by the claim module in excess of the outstanding tcy_claimer entitlements (protocol-owned TCY accumulated by the claim-module rune→TCY swap cycle). * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TCYClaimersApi */ tcyProtocolOwned(height?: number, options?: AxiosRequestConfig): Promise>; } /** * TCYStakersApi - axios parameter creator * @export */ export declare const TCYStakersApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the tcy staker information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyStaker: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all tcy stakers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyStakers: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TCYStakersApi - functional programming interface * @export */ export declare const TCYStakersApiFp: (configuration?: Configuration) => { /** * Returns the tcy staker information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyStaker(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all tcy stakers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyStakers(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TCYStakersApi - factory interface * @export */ export declare const TCYStakersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the tcy staker information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyStaker(address: string, height?: number, options?: any): AxiosPromise; /** * Returns all tcy stakers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tcyStakers(height?: number, options?: any): AxiosPromise; }; /** * TCYStakersApi - object-oriented interface * @export * @class TCYStakersApi * @extends {BaseAPI} */ export declare class TCYStakersApi extends BaseAPI { /** * Returns the tcy staker information for an address. * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TCYStakersApi */ tcyStaker(address: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all tcy stakers information. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TCYStakersApi */ tcyStakers(height?: number, options?: AxiosRequestConfig): Promise>; } /** * TSSApi - axios parameter creator * @export */ export declare const TSSApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} */ keygenPubkey: (height: number, pubkey: string, options?: AxiosRequestConfig) => Promise; /** * Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue. * @param {number} height * @param {*} [options] Override http request option. * @throws {RequiredError} */ keysign: (height: number, options?: AxiosRequestConfig) => Promise; /** * Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue. * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} */ keysignPubkey: (height: number, pubkey: string, options?: AxiosRequestConfig) => Promise; /** * Returns keygen and keysign metrics for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ metrics: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns keygen metrics for the provided vault pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ metricsKeygen: (pubkey: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TSSApi - functional programming interface * @export */ export declare const TSSApiFp: (configuration?: Configuration) => { /** * Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} */ keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue. * @param {number} height * @param {*} [options] Override http request option. * @throws {RequiredError} */ keysign(height: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue. * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} */ keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns keygen and keysign metrics for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ metrics(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns keygen metrics for the provided vault pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TSSApi - factory interface * @export */ export declare const TSSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} */ keygenPubkey(height: number, pubkey: string, options?: any): AxiosPromise; /** * Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue. * @param {number} height * @param {*} [options] Override http request option. * @throws {RequiredError} */ keysign(height: number, options?: any): AxiosPromise; /** * Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue. * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} */ keysignPubkey(height: number, pubkey: string, options?: any): AxiosPromise; /** * Returns keygen and keysign metrics for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ metrics(height?: number, options?: any): AxiosPromise; /** * Returns keygen metrics for the provided vault pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ metricsKeygen(pubkey: string, height?: number, options?: any): AxiosPromise; }; /** * TSSApi - object-oriented interface * @export * @class TSSApi * @extends {BaseAPI} */ export declare class TSSApi extends BaseAPI { /** * Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TSSApi */ keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise>; /** * Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue. * @param {number} height * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TSSApi */ keysign(height: number, options?: AxiosRequestConfig): Promise>; /** * Returns keysign information for the provided height and pubkey - the height being the block at which a tx out item is scheduled to be signed and moved from the scheduled outbound queue to the outbound queue. * @param {number} height * @param {string} pubkey * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TSSApi */ keysignPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise>; /** * Returns keygen and keysign metrics for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TSSApi */ metrics(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns keygen metrics for the provided vault pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TSSApi */ metricsKeygen(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * ThornamesApi - axios parameter creator * @export */ export declare const ThornamesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns addresses registered to the provided thorname. * @param {string} name the thornode to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ thorname: (name: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * ThornamesApi - functional programming interface * @export */ export declare const ThornamesApiFp: (configuration?: Configuration) => { /** * Returns addresses registered to the provided thorname. * @param {string} name the thornode to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ThornamesApi - factory interface * @export */ export declare const ThornamesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns addresses registered to the provided thorname. * @param {string} name the thornode to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ thorname(name: string, height?: number, options?: any): AxiosPromise; }; /** * ThornamesApi - object-oriented interface * @export * @class ThornamesApi * @extends {BaseAPI} */ export declare class ThornamesApi extends BaseAPI { /** * Returns addresses registered to the provided thorname. * @param {string} name the thornode to lookup * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ThornamesApi */ thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * TradeAccountApi - axios parameter creator * @export */ export declare const TradeAccountApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the units and depth of a trade account * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeAccount: (address: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TradeAccountApi - functional programming interface * @export */ export declare const TradeAccountApiFp: (configuration?: Configuration) => { /** * Returns the units and depth of a trade account * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeAccount(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TradeAccountApi - factory interface * @export */ export declare const TradeAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the units and depth of a trade account * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeAccount(address: string, height?: number, options?: any): AxiosPromise; }; /** * TradeAccountApi - object-oriented interface * @export * @class TradeAccountApi * @extends {BaseAPI} */ export declare class TradeAccountApi extends BaseAPI { /** * Returns the units and depth of a trade account * @param {string} address * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradeAccountApi */ tradeAccount(address: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * TradeAccountsApi - axios parameter creator * @export */ export declare const TradeAccountsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns all trade accounts for an asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeAccounts: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TradeAccountsApi - functional programming interface * @export */ export declare const TradeAccountsApiFp: (configuration?: Configuration) => { /** * Returns all trade accounts for an asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeAccounts(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TradeAccountsApi - factory interface * @export */ export declare const TradeAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns all trade accounts for an asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeAccounts(asset: string, height?: number, options?: any): AxiosPromise; }; /** * TradeAccountsApi - object-oriented interface * @export * @class TradeAccountsApi * @extends {BaseAPI} */ export declare class TradeAccountsApi extends BaseAPI { /** * Returns all trade accounts for an asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradeAccountsApi */ tradeAccounts(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * TradeUnitApi - axios parameter creator * @export */ export declare const TradeUnitApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the total units and depth of a trade asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeUnit: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TradeUnitApi - functional programming interface * @export */ export declare const TradeUnitApiFp: (configuration?: Configuration) => { /** * Returns the total units and depth of a trade asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeUnit(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TradeUnitApi - factory interface * @export */ export declare const TradeUnitApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the total units and depth of a trade asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeUnit(asset: string, height?: number, options?: any): AxiosPromise; }; /** * TradeUnitApi - object-oriented interface * @export * @class TradeUnitApi * @extends {BaseAPI} */ export declare class TradeUnitApi extends BaseAPI { /** * Returns the total units and depth of a trade asset * @param {string} asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradeUnitApi */ tradeUnit(asset: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * TradeUnitsApi - axios parameter creator * @export */ export declare const TradeUnitsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the total units and depth for each trade asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeUnits: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TradeUnitsApi - functional programming interface * @export */ export declare const TradeUnitsApiFp: (configuration?: Configuration) => { /** * Returns the total units and depth for each trade asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeUnits(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TradeUnitsApi - factory interface * @export */ export declare const TradeUnitsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the total units and depth for each trade asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tradeUnits(height?: number, options?: any): AxiosPromise; }; /** * TradeUnitsApi - object-oriented interface * @export * @class TradeUnitsApi * @extends {BaseAPI} */ export declare class TradeUnitsApi extends BaseAPI { /** * Returns the total units and depth for each trade asset * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TradeUnitsApi */ tradeUnits(height?: number, options?: AxiosRequestConfig): Promise>; } /** * TransactionsApi - axios parameter creator * @export */ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the observed transaction for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tx: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the signers for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txSigners: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Deprecated - migrate to /thorchain/tx/details. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txSignersOld: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the processing stages of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txStages: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the status of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txStatus: (hash: string, height?: number, options?: AxiosRequestConfig) => Promise; }; /** * TransactionsApi - functional programming interface * @export */ export declare const TransactionsApiFp: (configuration?: Configuration) => { /** * Returns the observed transaction for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the signers for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deprecated - migrate to /thorchain/tx/details. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txSignersOld(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the processing stages of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txStages(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the status of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txStatus(hash: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TransactionsApi - factory interface * @export */ export declare const TransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the observed transaction for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ tx(hash: string, height?: number, options?: any): AxiosPromise; /** * Returns the signers for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txSigners(hash: string, height?: number, options?: any): AxiosPromise; /** * Deprecated - migrate to /thorchain/tx/details. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txSignersOld(hash: string, height?: number, options?: any): AxiosPromise; /** * Returns the processing stages of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txStages(hash: string, height?: number, options?: any): AxiosPromise; /** * Returns the status of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ txStatus(hash: string, height?: number, options?: any): AxiosPromise; }; /** * TransactionsApi - object-oriented interface * @export * @class TransactionsApi * @extends {BaseAPI} */ export declare class TransactionsApi extends BaseAPI { /** * Returns the observed transaction for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ tx(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the signers for a provided inbound or outbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txSigners(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Deprecated - migrate to /thorchain/tx/details. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txSignersOld(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the processing stages of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txStages(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the status of a provided inbound hash. * @param {string} hash * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txStatus(hash: string, height?: number, options?: AxiosRequestConfig): Promise>; } /** * VaultsApi - axios parameter creator * @export */ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns current asgard vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ asgard: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the vault for the provided pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vault: (pubkey: string, height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns the keysign-eligible signer set for the provided vault pubkey. The optional signing_height is the signing height used for jail-release evaluation against current vault and node-account state; it is not a historical state query. * @param {string} pubkey * @param {number} [signingHeight] optional signing height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultKeysignParty: (pubkey: string, signingHeight?: number, options?: AxiosRequestConfig) => Promise; /** * Returns all pubkeys for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultPubkeys: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultSolvency: (height?: number, options?: AxiosRequestConfig) => Promise; /** * Returns current yggdrasil vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ yggdrasil: (height?: number, options?: AxiosRequestConfig) => Promise; }; /** * VaultsApi - functional programming interface * @export */ export declare const VaultsApiFp: (configuration?: Configuration) => { /** * Returns current asgard vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ asgard(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the vault for the provided pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vault(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the keysign-eligible signer set for the provided vault pubkey. The optional signing_height is the signing height used for jail-release evaluation against current vault and node-account state; it is not a historical state query. * @param {string} pubkey * @param {number} [signingHeight] optional signing height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultKeysignParty(pubkey: string, signingHeight?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all pubkeys for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultSolvency(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns current yggdrasil vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * VaultsApi - factory interface * @export */ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns current asgard vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ asgard(height?: number, options?: any): AxiosPromise; /** * Returns the vault for the provided pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vault(pubkey: string, height?: number, options?: any): AxiosPromise; /** * Returns the keysign-eligible signer set for the provided vault pubkey. The optional signing_height is the signing height used for jail-release evaluation against current vault and node-account state; it is not a historical state query. * @param {string} pubkey * @param {number} [signingHeight] optional signing height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultKeysignParty(pubkey: string, signingHeight?: number, options?: any): AxiosPromise; /** * Returns all pubkeys for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultPubkeys(height?: number, options?: any): AxiosPromise; /** * Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ vaultSolvency(height?: number, options?: any): AxiosPromise; /** * Returns current yggdrasil vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} */ yggdrasil(height?: number, options?: any): AxiosPromise; }; /** * VaultsApi - object-oriented interface * @export * @class VaultsApi * @extends {BaseAPI} */ export declare class VaultsApi extends BaseAPI { /** * Returns current asgard vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VaultsApi */ asgard(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the vault for the provided pubkey. * @param {string} pubkey * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VaultsApi */ vault(pubkey: string, height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns the keysign-eligible signer set for the provided vault pubkey. The optional signing_height is the signing height used for jail-release evaluation against current vault and node-account state; it is not a historical state query. * @param {string} pubkey * @param {number} [signingHeight] optional signing height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VaultsApi */ vaultKeysignParty(pubkey: string, signingHeight?: number, options?: AxiosRequestConfig): Promise>; /** * Returns all pubkeys for current vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VaultsApi */ vaultPubkeys(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VaultsApi */ vaultSolvency(height?: number, options?: AxiosRequestConfig): Promise>; /** * Returns current yggdrasil vaults. * @param {number} [height] optional block height, defaults to current tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VaultsApi */ yggdrasil(height?: number, options?: AxiosRequestConfig): Promise>; }