curl -X POST https://api.stableyard.fi/sdk/v1/get-deposit-address \ -H "x-sdk-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "paymentAddress": "alice@stableyard", "rawAmount": "100000000", "sourceAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f...", "sourceChainId": 1, "sourceChainToken": "USDC" }'
{ "success": true, "data": { "depositAddress": "0xabcdef1234567890abcdef1234567890abcdef12", "quote": { "inputAmount": "100.00", "inputToken": "USDC", "inputChain": "Ethereum", "outputAmount": "99.50", "outputToken": "USDC", "outputChain": "Base", "fee": "0.50", "expiresAt": "2024-01-15T11:00:00Z" }, "quoteId": "quote_deposit_xyz789" }, "requestId": "req_xyz789" }
Generate a deposit address with quote for cross-chain deposits
Show properties