# Swap supported SEGA pairs on Sonic SVM with an agent wallet

Use the SEGA market on Sonic SVM to quote a swap, review its fee, sign locally and verify settlement from the original signature.

Guide: https://www.bitpont.com/help/ai-agents/sonic-svm-sega-swaps/

MCP resource: `bitpont://guides/sonic-svm-sega-swaps`

[Open SOL / SONIC on Sonic SVM](https://www.bitpont.com/swap/sonic-svm/sol/sonic/)

## 1. Check the Sonic SVM ledger

Call sonicSvmConfig and compare its full genesis hash with the owner wallet RPC. The SOL and SONIC in this market are held on Sonic SVM. SOL and SONIC use nine decimals. For other assets, resolve each mint and read its decimals in swapMarketWorkflow. Only pairs with a registered direct SEGA pool are listed. Bitpont also lists Sonic EVM as a separate network with its own assets and wallet.

## 2. Quote the exact sell amount

Call sonicSvmQuote with the exact sell and buy mints, amount in integer base units and maximum slippage. Check the SEGA pool, gross input, net input, minimum received and expiry. The 40 basis point Bitpont fee uses the input asset. Keep native SOL on Sonic SVM for gas and account creation.

## 3. Approve on the owner’s host

Pass the quote ID and public wallet to sonicSvmPrepare. The agent kit can rebuild the transaction and verify the signer, network, mints, recipient, fee and rent limits before requesting a local wallet signature. Save that signature before calling sonicSvmSignedSubmit.

## 4. Verify the landed fee

Check sonicSvmReceipt with the same signature and ticket ID, including after a timeout or restart. A reported successful trade should have a matching recipient credit before it counts as a received Bitpont fee.

## Quote 0.01 SOL for SONIC on Sonic SVM

```
curl -fsS "https://www.bitpont.com/api/v1/agent/swap/sonic-svm/quote" \
  -H 'Content-Type: application/json' \
  -d '{"from":"sol","to":"sonic","amount":"10000000","slippageBps":50}'
```

### MCP tool call

```json
{
  "method": "tools/call",
  "params": {
    "name": "bitpont_sonicSvmQuote",
    "arguments": {
      "from": "sol",
      "to": "sonic",
      "amount": "10000000",
      "slippageBps": 50
    }
  }
}
```

## Tools

- `swapPairBrowser`
- `swapMarketWorkflow`
- `sonicSvmConfig`
- `swapPairs`
- `sonicSvmQuote`
- `sonicSvmPrepare`
- `sonicSvmSignedSubmit`
- `sonicSvmReceipt`

## Further reading

- [Reverse to SONIC / SOL](<https://www.bitpont.com/swap/sonic-svm/sonic/sol/>)
- [Compare swap networks](<https://www.bitpont.com/swap/networks/>)
- [Quote token swaps and manage limit orders with an AI agent](<https://www.bitpont.com/help/ai-agents/swaps-and-limit-orders/>)
- [Trade Orca pools on Eclipse with an agent wallet](<https://www.bitpont.com/help/ai-agents/eclipse-orca-swaps/>)
