All chains
    Preparing search index...

    Type Alias check_status

    check_status: TxDescriptor<{ index: number }>

    Check the status of the spend and remove it from the storage if processed.

    Must be signed.

    The status check is a prerequisite for retrying a failed payout. If a spend has either succeeded or expired, it is removed from the storage by this function. In such instances, transaction fees are refunded.

    • index: The spend index.

    Emits [Event::PaymentFailed] if the spend payout has failed. Emits [Event::SpendProcessed] if the spend payout has succeed.