Trading and Earn
Trade Orca pools on Eclipse with an agent wallet
Find the Eclipse Orca pair, check the fee and minimum output, sign locally, and track the original swap through settlement.
Workflow
Confirm the network and mint
Call eclipseConfig and compare the full Eclipse mainnet genesis hash with the RPC used by the wallet. Read assets and peers from the configuration. Open /swap/eclipse/{sellMint}/{buyMint}/ or /swap/eclipse/pool/{poolAddress}/. Quotes compare eligible direct pools for the exact input. Native ETH uses nine decimals and Hyperlane USDC uses six. A wallet with the same public key on Solana mainnet can have a different balance on Eclipse.
Get the exact input quote
Request eclipseQuote with the two mints, the gross amount in base units and slippageBps. Review the pinned Orca pool, amountIn, netAmountIn, minimumOut, expiresAt and the 40 basis point Bitpont fee. Keep ETH available for network costs.
Review and sign on the wallet host
Send quoteId and the public wallet to eclipsePrepare. Check the unsigned transaction against your original mints, amount, minimum, owner, fee recipient and pool. Verify the genesis hash on the wallet host, then sign locally. Preserve its signature and ticket ID before using eclipseSignedSubmit.
Reconcile the original signature
If the relay response is lost, ask eclipseReceipt about the original signature and ticket ID. A receipt must identify settlement and the actual recipient credit before an integrator counts a Bitpont fee. When a blockhash expires, resolve the old signature before preparing a new swap.
Quote 0.01 ETH for bridged USDC
curl -fsS "https://www.bitpont.com/api/v1/agent/swap/eclipse/quote" \
-H 'Content-Type: application/json' \
-d '{"from":"eth","to":"usdc","amount":"10000000","slippageBps":50}'Send this tool call through your connected Bitpont MCP client.
{
"method": "tools/call",
"params": {
"name": "bitpont_eclipseQuote",
"arguments": {
"from": "eth",
"to": "usdc",
"amount": "10000000",
"slippageBps": 50
}
}
}