Skip to main content
Pacta emits events for every state change. Use these to build dashboards, notification systems, and activity feeds in your app. Query events using the Sui RPC queryEvents method with the event type PACKAGE_ID::pacta::EVENT_NAME.

AgreementCreated

Emitted when a new agreement is created.

PartyBSet

Emitted when party B’s address is updated.

CoinDeposited

Emitted when a coin is deposited into an agreement.

ObjectDeposited

Emitted when a Move object is deposited into an agreement.

PartyApproved

Emitted when a party calls approve().

AgreementSettled

Emitted when an agreement is settled and funds are released.

AgreementCancelled

Emitted when an agreement is cancelled.

MutualCancelConsent

Emitted when a party signals consent to mutual cancel.

CoinClaimed

Emitted when a party claims a coin after settlement.

ObjectClaimed

Emitted when a party claims an object after settlement.

DisputeRaised

Emitted when a party raises a dispute.

DisputeResolved

Emitted when the arbiter resolves a dispute.

HookAttached

Emitted when a protocol hook is attached to an agreement.

Querying Events in Your App