SERVICES
Create a new pool
post/v2/services/offchain-gex/pools
Request
- Base URL: https://api.zee-verse.com (the document declares no server; this is the origin it was published from)
- URL: https://api.zee-verse.com/v2/services/offchain-gex/pools
- Auth: API key in header ServiceToken
Request body
Example request
{
"token0": "1",
"token1": "100",
"reserve0": "100000000000000000000",
"reserve1": "5000000000000000000",
"protocolFee": "0.01",
"liquidityProviderFee": "0.01",
"enabled": true
}Response
Example response
{
"id": "d42d3bbd-f5aa-4383-87c0-bc8924148722",
"token0": "1",
"token1": "100",
"reserve0": "100000000000000000000",
"reserve1": "5000000000000000000",
"protocolFee": 0.01,
"liquidityProviderFee": 0.01,
"totalLpSupply": "22360679774997896964",
"enabled": true,
"trades": {
"total": 100,
"last24h": 10,
"prev24h": 10,
"totalProtocolFee": "10",
"totalLpFee": "10"
},
"liquidityPositions": {
"total": 100,
"last24h": 10,
"prev24h": 10
}
}Changes
No recorded changes to this operation across all 1 revision of this API.