Skip to main content
POST
GetMarketIdByName

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
default:1

Define the version of the Connect protocol Define the version of the Connect protocol. If omitted, use 1.

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json
assetSymbol
string
quoteSymbol
string | null
chainId
string<int64> | null

Optional chain identifier for the market. During testnet, Fairground runs on Arbitrum Sepolia (421614).

Response

Success

marketId
string<int64>