Skip to main content
WSS
mint_updated and burn_updated push each one once its CETs are on chain, or gone; read them here to catch up after a gap. Reconcile on amount, and only once executionsComplete is true. See Mints and burns.
ed25519Signature
type:asymmetricEncryption

Each client registers an Ed25519 public key with Securitize beforehand; the private key never leaves the client. hello, place_order, cancel_order, submit_crypto_funding, sandbox_deposit and sandbox_withdraw carry timestamp (Unix seconds) and signature = base58( Ed25519-Sign( privateKey, timestamp + "." + type + "." + payloadBytes ) ), where payloadBytes are the exact bytes of payload as sent on the wire. The timestamp must be within 30 seconds of the server clock. Other messages ride on the session hello opens.

get_mints
type:object

Reads the CETs minted against your buys, newest first.

get_burns
type:object

Reads the CETs burned against your sells, newest first.

ack (get_mints)
type:object

The mints that match, newest first.

ack (get_burns)
type:object

The burns that match, newest first.

error
type:object

A request was refused. Most errors leave the socket open.

mint_updated
type:object

Pushed once a mint's CETs are on chain.

burn_updated
type:object

Pushed once a burn's CETs are gone.