Authentication
Obtaining an API Key
Sending Your Key
curl -X POST "https://api.infraredtrading.com/v1/quote" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"inputs": [
{
"chain_id": 1,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"amount": "1000000000000000000"
}
],
"outputs": [
{
"chain_id": 1,
"address": "0x6B175474E89094C44Da98b954EedeBC836211103",
"ratio_bps": 10000
}
],
"taker": "0x742d35Cc6634C0532925a3b844Bc9e7595f8b3c4"
}'Security Best Practices
Last updated