Nightforce Learning Center

From an action to an accepted transaction

Sign in with Discord

Introduction

Submitting a request is the first step. The network still needs to check it, and your app needs to learn the result.

What you’ll learn

Follow a transaction from preparation to inclusion and distinguish its fee from its operation result.

Lesson

  1. Prepare. The app builds a proposed operation from its inputs and view of state. Where the operation requires proofs, the prover receives the circuit inputs it needs. The transaction is assembled with the required asset inputs, outputs, change, and fee coverage.
  2. Submit and validate. The node can perform initial checks before inclusion. During processing, the network checks relevant proofs and current-state conditions, including whether a shielded spend’s nullifier is already recorded.
  3. Observe the result. After inclusion, a wallet or application may wait for chain progress and its indexer to catch up. The interface should distinguish submission, inclusion, the operation outcome, and whatever confirmation threshold it applies.

Worked example. Two qualified guests apply for one seat. The later operation may fail an application condition even though its membership claim is valid. Midnight transaction designs can distinguish guaranteed effects, including fees, from fallible operations. An application should inspect the actual result before showing “Seat reserved.” If a proof service handles the private witness, that service is part of the app’s privacy design. Treat local and remote proving as separate trust choices.

Practice quiz

Select one answer per question.

Answer key and explanations
  1. A. The wallet’s indexer may lag, or the wallet may wait for additional confirmations.
  2. B. Check the contract operation outcome separately from fee handling.

Sign in with Discord to take this quiz and earn your badge.