Cancel a request

Any subscription or redemption request can be cancelled by the user, given it’s still pending (i.e. it hasn’t been approved nor denied) and its TTL has already elapsed. This allows users to recover tokens from stale requests.

The cancellation is performed with a single function call to the shares contract: cancelSubscription(uint256 id) / cancelRedemption(uint256 id). These functions don't return any data.

circle-info

Events

The request cancellation results in the emission of a SubscriptionCancellation or RedemptionCancellation event containing the corresponding request data.

Last updated