kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
63 lines (62 loc) • 1.54 kB
TypeScript
import { GetCurrencyChains } from './model_get_currency_chains';
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class GetCurrencyResp implements Response<RestResponse> {
/**
* A unique currency code that will never change
*/
currency: string;
/**
* Currency name; will change after renaming
*/
name: string;
/**
* Full currency name; will change after renaming
*/
fullName: string;
/**
* Currency precision
*/
precision: number;
/**
* Number of block confirmations
*/
confirms?: number;
/**
* Contract address
*/
contractAddress?: string;
/**
* Margin support or not
*/
isMarginEnabled: boolean;
/**
* Debit support or not
*/
isDebitEnabled: boolean;
/**
* Chain list
*/
chains: Array<GetCurrencyChains>;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* common response
*/
commonResponse?: RestResponse;
setCommonResponse(response: RestResponse): void;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetCurrencyResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetCurrencyResp;
}