Trading and Earn
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.
Workflow
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.
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.
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.
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}'Send this tool call through your connected Bitpont MCP client.
{
"method": "tools/call",
"params": {
"name": "bitpont_sonicSvmQuote",
"arguments": {
"from": "sol",
"to": "sonic",
"amount": "10000000",
"slippageBps": 50
}
}
}