GMX · Example Payload

Getallowances

Allowances

Getallowances is an example object payload from GMX, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

methodpathoperationIdsummarytagsparametersresponses

Example Payload

Raw ↑
{
  "method": "GET",
  "path": "/allowances",
  "operationId": "GetAllowances",
  "summary": "",
  "tags": [
    "Allowances"
  ],
  "parameters": [
    {
      "in": "query",
      "name": "address",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "spender",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Success",
      "schema": {
        "items": {
          "$ref": "#/components/schemas/TokenAllowance"
        },
        "type": "array"
      }
    }
  }
}