Deposit Events
| Event | Fired when |
|---|---|
deposit.quote_created | Route planning is complete; execution steps are created with exchange rate info |
deposit.updated | General notification that a field on the deposit has been updated |
deposit.expired | The deposit reached its expiration date-time and is no longer actively processing |
Withdrawal Events
| Event | Fired when |
|---|---|
withdrawal.quote_created | Route planning is complete; execution steps are created with exchange rate info |
withdrawal.balance_updated | Balance check result is available (reserved or awaiting_funds) |
withdrawal.updated | General notification that a field on the withdrawal has been updated |
withdrawal.expired | The withdrawal reached its expiration date-time and is no longer actively processing |
Rebalance Events
| Event | Fired when |
|---|---|
rebalance.quote_created | Route planning is complete; execution steps are created with exchange rate info |
rebalance.balance_updated | Balance check result is available (reserved or awaiting_funds) |
rebalance.updated | General notification that a field on the rebalance has been updated |
rebalance.expired | The rebalance reached its expiration date-time and is no longer actively processing |
Step Events
All other lifecycle updates for a deposit, withdrawal, or rebalance fire at the step level as each step progresses:
| Event | Fired when |
|---|---|
step.signature_requested | Signature has been requested for the step |
step.signed | Step has been cryptographically signed |
step.submitted | Step has been submitted for execution |
step.confirmed | Step execution is confirmed on-chain or by the partner |
step.completed | Step finished successfully |
step.failed | Step encountered an error and could not complete |
step.updated | General notification that a field on the step has been updated |
The data.object for step events is the same across all Treasury resources. See for example the DepositStep resource.
Payload
The data.object for each top-level Treasury event contains the full resource. See General for the envelope shape and example payloads, and the Deposit schema, Withdrawal schema, and Rebalance schema for the full field reference.
Last modified on