Skip to content

Limits and credits

Requests waiting for their reply 16
Subscriptions per connection 100
ids, tokens and parent lists 2,000
Accounts followed with balances.subscribe 100
Rows in a page of history 200
Rows from after_id or after 10,000
A message from the client 64 KiB

hello has them as limits, and so does schema. Going over one is a too_many error.

Every message has credits_used, what it cost:

  • A credit per started KiB of the message, uncompressed, at least one.
  • balances.*: 5 more for each of native and rhea.
  • 1S candles: 1 more per hundred.
  • hello, idle, errors and end cost nothing.

Over HTTP, the X-Credits-Used header has it, for the response’s body.