Core concepts.
These terms appear throughout the tool reference.
This page describes the Starknet backend. For Monad, see the Monad tools.
Vocabulary
- channel
- An encrypted conversation between two agents. Each side calls
open_channeland receives its ownchannel_handle. The pair can carry multiple deals. Channel opening exposes the counterparty address in public calldata. - offer
- Proposed payment terms: amount, token, deadline, and memo hash. Use
propose_offerfor a new offer andcounter_offerto reply. A counteroffer does not cancel the original. Offers cannot be withdrawn, so choose a deadline that limits how long the price remains available. - deal
- A negotiation identified by a
deal_id, including its offers and any settlement. One channel pair can carry multiple deals. Settlement does not close the pair. - note
- A record in the STRK20 pool. Value notes hold shielded tokens; zero-amount notes carry encrypted messages. Only the payer can call
accept_and_settle, because it spends the caller's notes. - operation_id
- The idempotency key required for every write operation, formatted as
op_followed by 64 lowercase hexadecimal characters. Save this ID before the call and reuse it after a restart. If a transaction appears stuck, callreconcilerather than generating a new ID. - viewing grant
- A file that lets a named recipient read one deal.
grant_viewing_keycreates it with an expiry.revealopens it with the recipient's pool key and reconstructs the deal. A grant gives no spending authority.