Last updated 9 months ago
Terms and Disclaimers
"WETH"
"USDC"
"03NOV23"
^\d\d\w\w\w\d\d$
1700
"P"
Successful operation
const response = await fetch('/pools', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify([ {} ]), }); const data = await response.json();
{ "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" } ], "failed": [ { "base": "WETH", "quote": "USDC", "expiration": "03NOV23", "strike": 1700, "type": "P" } ] }