Get one or multiple or market midpoints
GET /<clob-endpoint>/midpoint
Name | Required | Type | Description |
---|---|---|---|
token_id | yes | string | token ID market to get price for |
{"mid": "0.55"}
POST /<clob-endpoint>/midpoints
Name | Required | Type | Description |
---|---|---|---|
params | yes | BookParams | search params for books |
BookParams
object is of the form:
Name | Required | Type | Description |
---|---|---|---|
token_id | yes | string | token ID of market to get book for |
{[asset_id]: mid_price}