curl -X POST https://oro-tradebook-devnet.up.railway.app/api/trading/sales/partner \ -H "Content-Type: application/json" \ -H "x-api-key: your-api-key" \ -d '{ "goldAmount": 1.0, "minimumUsdcAmount": 4800 }'
{ "success": true, "data": { "sellId": "uuid-sale-id", "goldAmount": 1.0, "quoteUsdcAmount": 5086.20, "minimumUsdcAmount": 4800, "quotedGoldPrice": 5086.2, "status": "pending_signature", "transaction": { "serializedTx": "base64-encoded-transaction", "signingInstructions": { "walletType": "PARTNER_AUTHORITY", "signers": ["ExecutiveAuthorityAddress"], "expiresAt": "2024-01-15T10:35:00.000Z" } }, "createdAt": "2024-01-15T10:30:00.000Z" } }
Creates a gold sell transaction for partner reserves.
PARTNER_EXECUTIVE_AUTHORITY
Show properties