Skip to content

Maker info

Identify the maker, networks, token, escrow and supported direction.

Endpoint
GET /maker/v1/info

Examples

cURL
curl -sS "https://api-testnet.veylor.cash/maker/v1/info"
HTTP 200
{
  "apiVersion": 1,
  "maker": "0x2bac02b5032e9092493814c705f156b49e288922",
  "chainId": 11155111,
  "contract": "0x62ce626c5a30528b8ee33145d491785082a6cf8a",
  "contractKind": "windows",
  "minWindow": 1800,
  "lateWindow": 3600,
  "token": "0x64c4a5cb09fe0b706d4cf24dc0a45fff275d727c",
  "zcashNetwork": "testnet",
  "reverseEnabled": true
}

Responses

HTTP 200

object · MakerInfo

Field JSON type Presence Meaning
apiVersion integer · Uint32 Required API version number.
maker string · EthereumAddress Required Maker's Ethereum address.
chainId integer · Uint64 Required EIP-155 chain ID of the settlement network.
contract string · EthereumAddress Required Ethereum address of the settlement contract.
contractKind string Optional Contract family reported by the deployment. The window-based client expects windows.
minWindow integer · Uint64 Optional Minimum interval required by the contract between opening and t0, and between t0 and t1, in seconds.
lateWindow integer · Uint64 Optional Length of the forward maker's refund window after t1, in seconds.
token string · EthereumAddress Required Ethereum address of the escrow token.
zcashNetwork string · ZcashNetwork Required Network of the Zcash leg.
reverseEnabled boolean Required Whether this maker accepts reverse quotes.

Errors

HTTP Body Meaning
503 object · ErrorResponse Temporarily unavailable, throttled, or waiting for a chain event. Respect Retry-After when present. Retry-After — Seconds to wait before retrying, when supplied.
Other object · ErrorResponse Other service error. Read code and error.
ErrorResponse fields
Field JSON type Presence Meaning
code string · ErrorCode Required Machine-readable service error code.
error string Required Human-readable detail.