Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/api/info/_methods/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ export type MetaResponse = {
maxLeverage: number;
/** Unique identifier for the margin requirements table. */
marginTableId: number;
/** Indicates if only isolated margin trading is allowed. */
/**
* Indicates if only isolated margin trading is allowed.
*
* @deprecated use `marginMode` instead.
*/
onlyIsolated?: true;
/** Indicates if the universe is delisted. */
isDelisted?: true;
Expand Down
2 changes: 1 addition & 1 deletion src/api/info/_methods/spotMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type SpotMetaResponse = {
/** Trading universes available for spot trading. */
universe: {
/** Token indices included in this universe. */
tokens: number[];
tokens: [baseToken: number, quoteToken: number];
/** Name of the universe. */
name: string;
/** Unique identifier of the universe. */
Expand Down
2 changes: 2 additions & 0 deletions src/api/subscription/_methods/outcomeMetaUpdates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export type OutcomeMetaUpdatesEvent = {
fallbackOutcome: number;
/** Array of named outcome identifiers. */
namedOutcomes: number[];
/** Array of settled named outcome identifiers. */
settledNamedOutcomes: number[];
};
}
| {
Expand Down
2 changes: 2 additions & 0 deletions src/api/subscription/_methods/userEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export type UserEventsEvent =
| {
/** Funding update details. */
funding: {
/** Timestamp of the funding event (in ms since epoch). */
time: number;
/** Asset symbol (e.g., BTC). */
coin: string;
/**
Expand Down