import { PublicAccount } from '../account/PublicAccount'; import { NetworkType } from '../network/NetworkType'; import { UInt64 } from '../UInt64'; import { Deadline } from './Deadline'; import { InnerTransaction } from './InnerTransaction'; import { Transaction } from './Transaction'; import { TransactionInfo } from './TransactionInfo'; export declare class PriceTransaction extends Transaction { /** * blockHeight. */ readonly blockHeight: UInt64; /** * highPrice. */ readonly highPrice: UInt64; /** * lowPrice. */ readonly lowPrice: UInt64; /** * Create a address alias transaction object * @param deadline - The deadline to include the transaction. * @param blockHeight - The block the price change was registered for. * @param highPrice - Highest price from the exchange since the last price transaction. * @param lowPrice - Lowest price from the exchange since the last price transaction. * @param networkType - The network type. * @param maxFee - (Optional) Max fee defined by the sender * @param signature - (Optional) Transaction signature * @param signer - (Optional) Signer public account * @returns {PriceTransaction} */ static create(deadline: Deadline, blockHeight: UInt64 | undefined, highPrice: UInt64 | undefined, lowPrice: UInt64 | undefined, networkType: NetworkType, maxFee?: UInt64, signature?: string, signer?: PublicAccount): PriceTransaction; /** * @param networkType * @param version * @param deadline * @param maxFee * @param blockHeight * @param highPrice * @param lowPrice * @param signature * @param signer * @param transactionInfo */ constructor(networkType: NetworkType, version: number, deadline: Deadline, maxFee: UInt64, /** * blockHeight. */ blockHeight: UInt64, /** * highPrice. */ highPrice: UInt64, /** * lowPrice. */ lowPrice: UInt64, signature?: string, signer?: PublicAccount, transactionInfo?: TransactionInfo); /** * Create a transaction object from payload * @param {string} payload Binary payload * @param {Boolean} isEmbedded Is embedded transaction (Default: false) * @returns {Transaction | InnerTransaction} */ static createFromPayload(payload: string, isEmbedded?: boolean): Transaction | InnerTransaction; }