Network
Chain id of the serving network. Clients build the assign presence proof with it (corelayer/assign/v1|<chainId>|<sender>|<serverTimeMs>), key their contract-address pin and relayer-verification cache by it, and must refuse to sign when it differs from the chainID of the transaction or from network.chainId in pricing.json. The owner, the relayers and possibly the contract address are the same on devnet and mainnet, so an address never tells the networks apart.
Possible values: [1, D]
- Example 1
- Example 2
mvx:1mvx:D2 x minGasPrice. A normal submission may not use a higher gas price.
CoRelayer contract address, for convenience. Pin the address in your own configuration; your pin wins if the two disagree.
Unix time in milliseconds.
Possible values: >= 0
timestampMs of the newest shard-1 block ingested.
Possible values: >= 0
swapVenue objectrequired
Unix time in milliseconds.
Possible values: >= 0
contractPause object
The CoRelayer contract's getPauseState(), re-read every 6 000 ms. all or deposits true -> purchase routes answer CONTRACT_PAUSED. The contract is deployed paused.
Unix time in milliseconds.
Possible values: >= 0
ESDT identifier from the contract configuration: USDC-c76f1f on mainnet, USDC-350c4e on devnet staging.
USDC-c76f1fnativeAuth object
Recent shard-1 block for headless agents that build a native-auth token themselves. Tokens must
embed a shard-1 block hash (security scheme nativeAuth). Refreshed with every ingested shard-1 block.
Possible values: Value must match regular expression ^[0-9a-f]{64}$
Unix time in milliseconds.
Possible values: >= 0
1The fixed headless-agent origin string to put into the token (https://agent.co-relayer.com on mainnet).
shards object[]required
Possible values: [0, 1, 2]
Possible values: [operational, degraded, partial_outage, major_outage, maintenance]
Customer relays of this shard in the last 86 400 000 ms; synthetic probes excluded.
Possible values: >= 0
Unix time in milliseconds.
Possible values: >= 0
Regional API hosts to fail over to when the main host does not answer:
https://fsn.api.co-relayer.com and https://hel.api.co-relayer.com (devnet has its own). They
send the same CORS headers as the main host, so browsers can use them.
{
"chainId": "1",
"caip2": "mvx:1",
"roundDurationMs": 0,
"minGasPrice": 0,
"maxGasPrice": 0,
"minGasLimit": 0,
"gasPerDataByte": 0,
"extraGasRelayed": 0,
"extraGasGuarded": 0,
"gasPriceModifier": "string",
"maxGasPerTransaction": 0,
"readAtEpoch": 0,
"contract": "string",
"ruScheduleVersion": 0,
"serverTimeMs": 0,
"chainTimeMs": 0,
"swapVenue": {
"paused": true,
"pairState": 0,
"wrapperPaused": true,
"tokenPaused": true,
"checkedAtMs": 0
},
"contractPause": {
"all": true,
"deposits": true,
"checkedAtMs": 0
},
"paymentToken": "USDC-c76f1f",
"nativeAuth": {
"blockHash": "string",
"blockTsMs": 0,
"shard": 1,
"origin": "string"
},
"shards": [
{
"shard": 0,
"status": "operational",
"activeRelayers": 0,
"relays24h": 0,
"windowMs": 0,
"samples": 0,
"inclusionP50Ms": 0,
"inclusionP95Ms": 0,
"inclusionP99Ms": 0,
"addedP50Ms": 0,
"addedP99Ms": 0,
"lastBlockTsMs": 0,
"stalled": true
}
],
"directHosts": [
"string"
]
}