Trading and Earn
Quote a cross-chain bridge and verify destination delivery
Resolve a token on both chains, prepare a direct deBridge transfer and use the order ID to distinguish source confirmation from destination delivery.
Workflow
Match the source and destination assets
USDC on Ethereum and USDC on Base have different contract addresses. The example quotes a transfer of 100 USDC between the two native USDC contracts. Read the quote’s expected output, fees and expiry. Amounts in this request use USDC’s six decimal places.
Prepare a wallet-bound transfer
Send the source wallet and destination recipient together to bridgeQuote. Save the quote ID and workspace. When the quote is executable, use bridgePrepare in that workspace with the same addresses. Verify each step, including the spender of any approval and the minimum amount for the destination recipient.
Verify delivery before using the funds
Record the source hash and order ID and pass them with both chain IDs to bridgeStatus. Wait for destination delivery before spending the received funds. If your integration also tracks Bitpont’s fee, bridgeFeeFollow checks the order’s fee separately. Solana cross-chain affiliate collection can complete later through a withdrawal.
Send the authorized transaction
Use the supported action with executionPrepare in the same workspace. Review the returned signing payload. On the wallet host use bitpont_walletExecute, or sign locally and send executionSubmit. Save the executionId to follow settlement and recover after a timeout.
Quote 100 USDC from Ethereum to Base
curl -fsS "https://www.bitpont.com/api/v1/agent/bridge/quote" \
-H 'Content-Type: application/json' \
-d '{"sourceChain":"evm:1","from":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","destinationChain":"evm:8453","to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","amount":"100000000","slippageBps":50}'