Skip to content

Type Alias: UserEvent ​

ts
type UserEvent = 
  | {
  fills: UserFill[];
}
  | {
  funding: {
     coin: string;
     fundingRate: string;
     nSamples: number | null;
     szi: string;
     time: number;
     usdc: string;
  };
}
  | {
  liquidation: {
     lid: number;
     liquidated_account_value: string;
     liquidated_ntl_pos: string;
     liquidated_user: string;
     liquidator: string;
  };
}
  | {
  nonUserCancel: object[];
}
  | {
  twapHistory: TwapHistoryEntry[];
}
  | {
  twapSliceFills: TwapSliceFill[];
};

Built by Siebly. Open source SDKs for exchange APIs.