Inclusion Preconf Markets
Public endpoints for inclusion preconf market data. No authentication required.
GET /v1/p/inclusion-preconf/markets
Get active all preconf market details.
- HTTP
- Python
curl -X GET "$ETHGAS_API_URL/v1/p/inclusion-preconf/markets"
import requests
url = f"{ETHGAS_API_URL}/v1/p/inclusion-preconf/markets"
response = requests.get(url)
print(response.text)
Request
No parameters required.
Response Body
| Name | Type | Description |
|---|---|---|
| markets | object[] | List of Market objects |
| └ marketId | integer | Preconf market ID |
| └ slot | integer | Slot number of the block |
| └ instrumentId | string | Instrument ID (e.g. ETH-PC-295045) |
| └ name | string | Market name |
| └ quantityStep | string | Min increment between order quantities |
| └ minQuantity | string | Minimum order quantity |
| └ maxQuantity | string | Maximum order quantity |
| └ priceStep | string | Min price increment |
| └ totalPreconf | integer | Total preconf quantity for this slot |
| └ availablePreconf | integer | Available preconf for trading |
| └ price | string | Latest traded price |
| └ status | integer | Market status (see Market Status Codes) |
| └ validatorType | integer | Type of validator (0 = normal, 1 = SSV) |
GET /v1/p/inclusion-preconf/market
Get preconf market details for a given slot.
- HTTP
- Python
curl -X GET "$ETHGAS_API_URL/v1/p/inclusion-preconf/market?slot=2880221"
import requests
url = f"{ETHGAS_API_URL}/v1/p/inclusion-preconf/market"
params = {"slot": 2880221}
response = requests.get(url, params=params)
print(response.text)
Request
| Parameter | Required | Type | Description |
|---|---|---|---|
| slot | YES | integer | Slot number |
GET /v1/p/inclusion-preconf/trades
Get recent preconf trade details for a given instrument ID.
- HTTP
- Python
curl -X GET "$ETHGAS_API_URL/v1/p/inclusion-preconf/trades?instrumentId=ETH-PC-988403"
import requests
url = f"{ETHGAS_API_URL}/v1/p/inclusion-preconf/trades"
params = {"instrumentId": "ETH-PC-988403"}
response = requests.get(url, params=params)
print(response.text)
Request
| Parameter | Required | Type | Description |
|---|---|---|---|
| instrumentId | YES | string | Instrument ID |
| limit | NO | integer | Max transactions to return |
GET /v1/p/inclusion-preconf/top-sales
Get preconf positions by price.
- HTTP
- Python
curl -X GET "$ETHGAS_API_URL/v1/p/inclusion-preconf/top-sales?instrumentId=ETH-PC-475423&limit=10"
import requests
url = f"{ETHGAS_API_URL}/v1/p/inclusion-preconf/top-sales"
params = {"instrumentId": "ETH-PC-475423", "limit": 10}
response = requests.get(url, params=params)
print(response.text)
Request
| Parameter | Required | Type | Description |
|---|---|---|---|
| instrumentId | NO | string | Instrument ID |
| limit | NO | integer | Max positions to return (default: 10) |