This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Event Types

Background reference of interfaces referenced in event lookup
enum SourceTypes {
  TRANSACTION = 0,
}

enum EventTypes {
  EVENT_SEND = 1,
  EVENT_RECEIVE = 2,
  EVENT_OUTPUT = 3,
  EVENT_INPUT = 4,
  EVENT_FEE = 5,
  EVENT_BUY_ORDER = 6,
  EVENT_SELL_ORDER = 7,
  EVENT_CANCEL_BUY_ORDER = 8,
  EVENT_CANCEL_SELL_ORDER = 9,
  EVENT_LEASE_BALANCE = 10,
  EVENT_MESSAGE_SEND = 11,
  EVENT_MESSAGE_RECEIVE = 12,
}

interface EventStandardTypeData {
  value: string;
  addrXpub: string;
  publicKey: string;
  alias: string;
  n: number;
}

interface EventFeeTypeData {
  value: string;
}

interface EventOrderTypeData {
  currencyType: AssetTypes;
  currencyId: string;
  quantity: string;
  price: string;
}

interface EventLeaseBalanceTypeData {
  period;
  addrXpub: string;
  publicKey: string;
  alias: string;
}

interface EventMessageTypeData {
  addrXpub: string;
  publicKey: string;
  alias: string;
  isText: boolean;
  message:
    | string
    | {
        data: string;
        nonce: string;
      };
}