PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib
Просмотр файла: ExchangeRate.d.ts
export default class ExchangeRate {
/**
* @internal
* @param {import("@hashgraph/proto").proto.IExchangeRate} rate
* @returns {ExchangeRate}
*/
static _fromProtobuf(rate: import("@hashgraph/proto").proto.IExchangeRate): ExchangeRate;
/**
* @private
* @param {object} props
* @param {number} props.hbars
* @param {number} props.cents
* @param {Date} props.expirationTime
*/
private constructor();
/**
* Denotes Hbar equivalent to cents (USD)
*
* @readonly
* @type {number}
*/
readonly hbars: number;
/**
* Denotes cents (USD) equivalent to Hbar
*
* @readonly
* @type {number}
*/
readonly cents: number;
/**
* Expiration time of this exchange rate
*
* @readonly
* @type {Date}
*/
readonly expirationTime: Date;
/**
* Calculated exchange rate
*
* @readonly
* @type {number}
*/
readonly exchangeRateInCents: number;
/**
* @internal
* @returns {import("@hashgraph/proto").proto.IExchangeRate}
*/
_toProtobuf(): import("@hashgraph/proto").proto.IExchangeRate;
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!