Glossary

Glossary

Every term the docs use, defined once.

TermMeaning
AcceptThe taker’s choice of one quote, which starts the settlement transaction
Base token, base amountThe first token of a pair, and an amount of it. A request’s size is a base amount
Base unitsA token amount as an integer in that token’s smallest unit, for the base token and the quote token alike. The API and the program use base units everywhere
DeskAside’s app at /desk
Desk serverThe server behind the desk: it routes envelopes, builds transactions and runs the API
Desk keyThe sealing key and the quote key a browser derives from one wallet signature over the key message
EnvelopeA sealed request or quote: a NaCl box and its nonce. Only its recipient can open it
Fee5 bps of the quote leg, paid by the taker in settle
Fee recipientThe account that receives the fee, named in the program’s configuration
FillA settled trade as the desk records it, with both legs, the fee and the transaction signature
House makerAside house, the maker the desk runs itself
InventoryWhat a maker holds in its vaults
Key messageThe fixed message whose signature the desk key is derived from
LegOne side of a trade: the base amount moving one way, or the quote amount moving the other
Live channelThe server-sent event stream GET /v1/events, which delivers envelopes and status changes
MakerA wallet with a maker account on chain that quotes requests from its vaults
Maker accountThe program account naming a maker’s owner wallet and quote key, and whether the maker is active
PairA base token and a quote token the desk lists
PriceQuote tokens per base token
QuoteA maker’s signed offer: both mints, both amounts, the taker, an expiry and a nonce
Quote hashThe SHA-256 of a quote’s signed message. The program records it when the quote settles
Quote keyThe Ed25519 key a maker signs quotes with, registered in its maker account
Quote leg, quote amountThe amount of the pair’s quote token in a trade
Quote tokenThe second token of a pair
ReceiptThe desk’s summary of a settled trade: both legs, the fee and the transaction signature
Reference priceA market price per pair the desk reads (from Jupiter on mainnet), used to prefill a maker’s price
Quote validityHow long a quote holds after the maker signs it: 30 seconds by default
RequestA taker’s ask for a price on a pair, side and size, sealed separately to each maker asked
Request windowHow long a request stays open for quotes: 60 seconds by default
Sealing keyThe X25519 key that seals envelopes to others and opens the ones sealed to you
SettleThe program instruction that moves both legs and the fee and records the quote hash, all or nothing
SideBuy or sell, always from the taker’s view of the base token
SizeThe base amount of a request
TakerThe trader who sends a request and accepts a quote
VaultA token account the program controls through the maker account, one per maker per mint, holding that maker’s inventory