Skip to main content
Loan operations dispatch phase events as they progress. Handlers registered through kit.on receive a payload with the phase state, so you can drive a progress UI or diagnose where an operation stopped.

Phases

Every loan operation dispatches events under the same set of phase names:

Transaction hashes by phase

Not every phase reports a txHash:
  • execute: reports the batch’s txHash on success.
  • approve and setAuthorization: carry a txHash only when they submit their own transaction. If existing allowance or authorization already covers the pull, they reach success immediately with no hash.
  • fetchParams: never has a txHash.
A phase that stops at pending was prepared into a batch whose outcome the wallet never reported. Treat it as unknown and read the loan before you retry. For subscribing to phase events with kit.on, see Track operation progress.