Interface KristWsTransactionEvent

An incoming message sent from the Krist server to a websocket client.

Hierarchy

Properties

error?: string

If ok is false, the error code from the Krist API.

event: "transaction"
message?: string

If ok is false, a human-readable error message from the Krist API.

ok: boolean

Whether the request succeeded.

parameter?: string

If ok is false, the parameter that caused the error (if available).

transaction: KristTransaction

The transaction that was just made.

type: "event"

The type of incoming message.

Generated using TypeDoc