Last updated 12 months ago
Was this helpful?
/pools
WETH
USDC
03NOV23
^\d\d\w\w\w\d\d$
1700
P
C
curl -L \ --request POST \ --url '/pools' \ --header 'x-apikey: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '[{"base":"WETH","quote":"USDC","expiration":"03NOV23","strike":1700,"type":"P"}]'
{ "failed": [ { "base": "WETH", "quote": "USDC", "expiration": "03NOV23", "strike": 1700, "type": "P" } ], "success": [ { "base": "WETH", "quote": "USDC", "expiration": "03NOV23", "strike": 1700, "type": "P", "poolAddress": "0x...4cFF2" } ], "existed": [ { "base": "WETH", "quote": "USDC", "expiration": "03NOV23", "strike": 1700, "type": "P", "poolAddress": "0x...4cFF2" } ] }