# Verify the tokens and fees from an agent swap

Read one Jupiter or KyberSwap receipt from Portfolio or MCP. Check the transaction, the amount that reached the wallet and the fee Bitpont received.

Guide: https://www.bitpont.com/help/ai-agents/verified-swap-receipts/

## 1. Find the original execution

Keep the private workspace and the executionId returned when preparing the swap. If a request timed out, call executionLookup with the original requestId in that workspace. For an earlier submission, use executionReceipts. In Portfolio Activity, open the swap receipt for that same execution.

## 2. Check what reached the wallet

Call swapReceipt with the executionId. Match the venue, network, wallet, transactionId and token identities to your review. Amounts are integer token base units. Compare actualOutput to minimumOutput only when actualOutput is present. For native ETH or SOL, gas, rent or wrapping can affect a wallet balance change. A finalized transaction can still have an unknown attributable output.

## 3. Account for the fee

Read the fee token and recipient along with fee.quotedAmount and fee.receivedAmount. Record revenue only when fee.state is verified and the received amount is present. Record missing evidence as unknown. Save the receipt JSON with the transaction ID. An agent can refresh the same receipt after a timeout without signing or sending another swap.

## Inspect the receipt fields before connecting a workspace

```
curl -fsS "https://www.bitpont.com/api/v1/agent/tools/describe" \
  -H 'Content-Type: application/json' \
  -d '{"tool":"swapReceipt"}'
```

## Tools

- `swapReceipt`
- `executionLookup`
- `executionReceipts`
- `executionStatus`

## Further reading

- [Open a swap receipt in Portfolio](<https://www.bitpont.com/portfolio/activity/#portfolioSwapReceipt>)
- [Settlement fields and API recovery](<https://www.bitpont.com/developers/agent-recovery/#swap-settlement>)
- [Quote token swaps and manage limit orders with an AI agent](<https://www.bitpont.com/help/ai-agents/swaps-and-limit-orders/>)
- [Resume a swap, vault or bridge task from Portfolio or MCP](<https://www.bitpont.com/help/ai-agents/resumable-portfolio-tasks/>)
- [Reconcile partner swap fees and settlement events](<https://www.bitpont.com/help/ai-agents/reconcile-settlements/>)
