You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

offerCreate.d.ts 776B

123456789101112131415161718192021222324
  1. import { Amount } from '../common';
  2. import { BaseTransaction, GlobalFlags } from './common';
  3. export declare enum OfferCreateFlags {
  4. tfPassive = 65536,
  5. tfImmediateOrCancel = 131072,
  6. tfFillOrKill = 262144,
  7. tfSell = 524288
  8. }
  9. export interface OfferCreateFlagsInterface extends GlobalFlags {
  10. tfPassive?: boolean;
  11. tfImmediateOrCancel?: boolean;
  12. tfFillOrKill?: boolean;
  13. tfSell?: boolean;
  14. }
  15. export interface OfferCreate extends BaseTransaction {
  16. TransactionType: 'OfferCreate';
  17. Flags?: number | OfferCreateFlagsInterface;
  18. Expiration?: number;
  19. OfferSequence?: number;
  20. TakerGets: Amount;
  21. TakerPays: Amount;
  22. }
  23. export declare function validateOfferCreate(tx: Record<string, unknown>): void;
  24. //# sourceMappingURL=offerCreate.d.ts.map