# Approve

Source: https://docs.settlemint.com/docs/operators/system-addons/xvp-settlement/actions/approve
Learn how the local sender approves an XvP settlement, what DALP checks before approval,
and how the settlement moves toward execution after approval.




Local senders record consent on-chain for each XvP settlement they are party to. Complete the approval step when you are the local sender for one or more outgoing flows. The settlement moves toward execution once every required sender has confirmed.

## Before you approve [#before-you-approve]

The approval step appears when your wallet is an involved party and the local sender for an outgoing flow. It remains available as long as your approval is pending and the settlement has not executed, been cancelled, withdrawn, or passed its cutoff date.

DALP checks balances after you open the approval sheet. If your wallet does not hold enough of one or more outgoing assets, the approve button is disabled.

<Callout type="info" title="Only the local sender approves">
  Recipients do not approve XvP settlements. If you only receive assets, there is no approval step for you.
</Callout>

## What approval does [#what-approval-does]

Approval can require one or more token allowance approvals before the settlement approval call:

1. DALP approves the settlement contract to use each required token amount from your wallet.
2. DALP calls the XvP settlement approval function for your wallet after the required token allowances are in place.
3. The settlement records your approval on-chain.
4. DALP refreshes the settlement and activity feeds so your approval state is visible.

When the chain accepts a token allowance asynchronously, the first confirmation may only submit that token approval. After the allowance transaction completes and the step refreshes, approve again to continue the remaining allowance approvals or submit the settlement approval if the step still appears.

The approval sheet lists the assets, amounts, and recipient addresses before you confirm. If your wallet does not have enough balance for one or more outgoing transfers, DALP disables the button and shows the shortfall.

## Steps [#steps]

<Steps>
  <Step>
    ### Find the pending approval [#find-the-pending-approval]

    Find the pending step from the settlement detail page under **Settlements**. Pending XvP settlements that need your approval appear as approval steps for your wallet.
  </Step>

  <Step>
    ### Review the settlement flows [#review-the-settlement-flows]

    Before approving, confirm the settlement name and cutoff date, the outgoing flows from your wallet, the assets and amounts, and the recipient addresses. For HTLC settlements, also verify the hashlock and timelock details shown for the settlement.
  </Step>

  <Step>
    ### Start approval [#start-approval]

    Click **Approve**.

    DALP opens an approval sheet with the outgoing transfer summary. If any required balance is missing, the button shows an insufficient-balance state instead of allowing approval.
  </Step>

  <Step>
    ### Confirm wallet verification [#confirm-wallet-verification]

    Review the approval summary, then continue through wallet verification with your PIN, OTP, or configured signing method.

    DALP submits any required token allowance approvals before the settlement approval call. When the chain accepts an allowance transaction asynchronously, wait for the step to refresh, then approve again to continue the remaining allowance approvals or submit the settlement approval. When no allowance step is required, DALP submits the settlement approval in the same flow.
  </Step>

  <Step>
    ### Check the result [#check-the-result]

    After confirmation, refresh the settlement. If the settlement approval completed, your approval status changes to approved. If only a token allowance approval completed, the approval step remains available. Submit the remaining allowance or settlement approval steps to continue. Once fully approved, the settlement either holds for any other pending approvals or progresses to its next stage.
  </Step>
</Steps>

## What happens next [#what-happens-next]

The settlement stays pending until every required sender approves. Once all approvals are in, the next stage depends on the settlement type.

| Settlement type          | Next outcome when all required approvals are present         |
| ------------------------ | ------------------------------------------------------------ |
| Local, auto-execute on   | DALP can execute the settlement after the final approval     |
| Local, auto-execute off  | The settlement waits in a ready state for manual execution   |
| HTLC / external-flow use | The settlement becomes armed and waits for the secret reveal |

## Revoking approval [#revoking-approval]

Revocation rules depend on the settlement type and state.

For local settlements, you can revoke your approval at any point before execution. This resets your approval status to pending.

For HTLC settlements, revocation is possible until the settlement becomes armed. Once all required approvals arm the HTLC settlement, the approval is final.

See [Revoke approval](/docs/operators/system-addons/xvp-settlement/actions/revoke-approval) for detailed steps.

## Troubleshooting [#troubleshooting]

| Issue                   | What to check                                                                                  |
| ----------------------- | ---------------------------------------------------------------------------------------------- |
| Approve step missing    | Confirm your wallet is the local sender for an outgoing flow and has not already approved      |
| Approve button disabled | Confirm your wallet has enough balance for each outgoing asset                                 |
| Settlement expired      | Approval is no longer available after the cutoff date                                          |
| Transaction reverts     | Check wallet verification, token compliance rules, and whether the settlement is still pending |

## Next steps [#next-steps]

After approving, you can revoke for local settlements before execution. For HTLC settlements, revocation is available until arming. When auto-execute is off, proceed to execute a fully approved settlement manually.

<Cards>
  <Card title="Revoke approval" href="/docs/operators/system-addons/xvp-settlement/actions/revoke-approval">
    Learn when an approval can be revoked before execution or arming.
  </Card>

  <Card title="Execute settlement" href="/docs/operators/system-addons/xvp-settlement/actions/execute">
    Manually execute a fully approved local settlement when auto-execute is off.
  </Card>
</Cards>
