Skip to main content
Run API calls on your backend. Use an API key with quote, swap and receipts scopes.

1. Get a quote

This quotes 0.001 ETH to USDG, attributed to your workspace. Pass builderCode to select another registered code. Review the returned net output, minimum, fees and expiry.

2. Prepare the transaction

For ERC-20 input, approve only the returned amount to the named spender. Refresh the quote if approval outlives it. The user reviews and signs the returned transaction; the API does not submit it.

3. Verify the result

confirming means finality is pending; finalized confirms the attributed settlement. Check status before retrying an uncertain submission. Never automatically resend it.