import TransactionType from '../TransactionType'; import CurrencyAmount from '../util/CurrencyAmount'; import BaseTransactionInstructions from './BaseInstructions'; /** * An OfferCreate transaction is effectively a limit order. It defines an intent to exchange currencies, * and creates an Offer object if not completely fulfilled when placed. * Taken from https://xrpl.org/offercreate.html. * * @extends BaseTransactionInstructions * * @property Expiration - Time after which the offer is no longer active, in seconds since the Ripple Epoch. * @property OfferSequence - An offer to delete first, specified in the same way as OfferCancel. * @property TakerGets - The amount and type of currency being provided by the offer creator. * @property TakerPays - The amount and type of currency being requested by the offer creator. */ export default interface OfferCreateInstructions extends BaseTransactionInstructions { readonly TransactionType: TransactionType.OfferCreate; readonly Expiration?: number; readonly OfferSequence?: number; readonly TakerGets: CurrencyAmount; readonly TakerPays: CurrencyAmount; } //# sourceMappingURL=OfferCreateInstructions.d.ts.map