Skip to main content

Operations

An operation queries or updates the database state.

There are six operations available to clients:

Events and Results

Each operation has a corresponding event and result type.

  • The client sends events to the cluster.
  • The client receives results from the cluster (1:1 for each event sent).
  • Events and results for the same operation are batched for throughput.
  • A batch of an operation's events is called a request.
  • A batch of an operation's results is called a reply.

Client implementations provide an API for sending batched events and decoding the corresponding batched results.

OperationEventResult
create_accountsAccountCreateAccountResult
create_transfersTransferCreateTransferResult
lookup_accountsAccount.idAccount or nothing
lookup_transfersTransfer.idTransfer or nothing
get_account_transfersAccountFilterTransfer or nothing
get_account_balancesAccountFilterAccountBalance or nothing