cURL
curl --request POST \ --url https://stacks.aboki.xyz/api/bridge/initiate-stacks-to-eth \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amountUSDCx": "50", "ethereumRecipient": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" } '
{ "sessionId": "<string>", "status": "<string>", "direction": "<string>", "amount": "<string>", "ethereumRecipient": "<string>", "stacksDepositWallet": { "address": "<string>" }, "nextSteps": [ "<string>" ], "estimatedTime": "<string>", "autoDetection": true, "detectionInterval": "<string>", "warning": "<string>" }
Creates a new Stacks wallet for user to deposit USDCx. Auto-detects deposit and processes gas + burn automatically.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Stacks to Ethereum bridge request
Amount of USDCx to bridge
"50"
Ethereum address to receive USDC
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
Stacks wallet created - ready for USDCx deposit
Show child attributes