/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TradeClass } from './trade-class'; import { TradingPairSide } from './trading-pair-side'; import { TransferRail } from './transfer-rail'; /** * A supported base/quote asset pair for a provider, optionally scoped to a specific connected account, for a given trading side (BUY/SELL, or `BOTH`), with the transfer rails and amount limits that apply to it. `baseAssetId` / `quoteAssetId` may be the wildcard `*`, meaning any asset on `baseChain` / `quoteChain`; such a row is not expanded. * @export * @interface TradingPair */ export interface TradingPair { /** * The provider that supports this pair. * @type {string} * @memberof TradingPair */ 'providerId': string; /** * Fireblocks asset ID of the base asset, or `*` for any asset on `baseChain`. A `*` value always comes with `baseChain` set. * @type {string} * @memberof TradingPair */ 'baseAssetId': string; /** * Fireblocks asset ID of the quote asset, or `*` for any asset on `quoteChain`. A `*` value always comes with `quoteChain` set. * @type {string} * @memberof TradingPair */ 'quoteAssetId': string; /** * * @type {TradingPairSide} * @memberof TradingPair */ 'side': TradingPairSide; /** * * @type {TradeClass} * @memberof TradingPair */ 'tradeClass': TradeClass; /** * The connected account the pair is scoped to. Absent for direct-access providers, and for provider-level pairs that describe what a provider supports before any account is connected. Its absence therefore does not imply the provider is direct-access. * @type {string} * @memberof TradingPair */ 'accountId'?: string; /** * Display symbol of the base asset, for readability when `baseAssetId` is not self-explanatory (a privately listed asset or a UUID). `*` when `baseAssetId` is `*`. Absent when the asset could not be resolved. Informational only, not an identifier. * @type {string} * @memberof TradingPair */ 'baseSymbol'?: string; /** * Display symbol of the quote asset, for readability when `quoteAssetId` is not self-explanatory (a privately listed asset or a UUID). `*` when `quoteAssetId` is `*`. Absent when the asset could not be resolved. Informational only, not an identifier. * @type {string} * @memberof TradingPair */ 'quoteSymbol'?: string; /** * Blockchain `legacyId` of the base asset (e.g. `ETH`, `BASECHAIN_ETH`, `ETH-AETH`, `SOL`). Set for leaf crypto assets; absent for fiat and virtual assets. * @type {string} * @memberof TradingPair */ 'baseChain'?: string; /** * Blockchain `legacyId` of the quote asset (e.g. `ETH`, `BASECHAIN_ETH`, `ETH-AETH`, `SOL`). Set for leaf crypto assets; absent for fiat and virtual assets. * @type {string} * @memberof TradingPair */ 'quoteChain'?: string; /** * * @type {TransferRail} * @memberof TradingPair */ 'baseAssetRail'?: TransferRail; /** * * @type {TransferRail} * @memberof TradingPair */ 'quoteAssetRail'?: TransferRail; /** * Whether the provider requires the funds to be prefunded on the provider account before the order can execute. * @type {boolean} * @memberof TradingPair */ 'prefunded'?: boolean; /** * Minimum amount of the base asset for this pair/side, as a decimal string. * @type {string} * @memberof TradingPair */ 'min'?: string; /** * Maximum amount of the base asset for this pair/side, as a decimal string. * @type {string} * @memberof TradingPair */ 'max'?: string; }