HTTP API exposed by every zkScatter relayer node. Apps use this to discover a relayer's identity and fee, submit signed orders, fetch order status, and cancel. All relayers implement the same surface — switch the base URL to switch operators.
zkScatter Relayer API
https://relayer.example.comProduction relayer (replace with a registered operator's URL — see `RelayerRegistry`).Endpoints
Relayer identity, fee, and pending-queue depth
/api/infoReturns the operator's identity, on-chain fee (in basis points), and the number of pending authorize orders. Apps use this to filter the on-chain registry list down to operators that are actually online and matching.
Responses
namerequiredHuman-readable relayer name. Matches what the operator advertises on-chain.
example: "ScatterDEX ZK Relayer"
versionrequiredRelayer software version. Use to gate features that require a specific server build.
example: "0.1.0"
addressrequiredOperator EOA — must match the address registered in `RelayerRegistry`. Apps cross-check this against the on-chain record before submitting.
example: "0xabcdef0123456789abcdef0123456789abcdef01"
feerequiredPer-trade fee in basis points (100 = 1%). Must equal the on-chain `fee` field.
example: 30
orderCountrequiredNumber of pending authorize orders the relayer is currently holding.
example: 12
commitmentPoolrequiredAddress of the `CommitmentPool` contract this relayer matches against.
privateSettlementrequiredAddress of the `PrivateSettlement` contract this relayer submits to.
profileOperator-set cosmetic metadata. Untrusted by the SDK — every consumer must run it through `sanitizeProfile` before rendering.
namedescriptionlogoUrlcontactsocialXwebsiteupdatedAtUnix seconds since the operator last edited the profile.
Example
curl --request GET \
--url https://relayer.example.com/api/info{
"name": "ScatterDEX ZK Relayer",
"version": "0.1.0",
"address": "0xabcdef0123456789abcdef0123456789abcdef01",
"fee": 30,
"orderCount": 12,
"commitmentPool": "string",
"privateSettlement": "string",
"profile": {
"name": "string",
"description": "string",
"logoUrl": "string",
"contact": "string",
"socialX": "string",
"website": "string",
"updatedAt": 0
}
}