Skip to main content
GET
/
api
/
{blockchain}
/
orders
/
byMaker
/
history
/
{maker}
JavaScript
const options = {method: 'GET'};

fetch('https://swap.ggp.gg/api/{blockchain}/orders/byMaker/history/{maker}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "data": [
    {
      "createdAt": 1,
      "filledTxHashes": [
        "<string>"
      ],
      "maker": "<string>",
      "makerSrcOrToken": "<string>",
      "makerToken": "<string>",
      "makerTraits": "<string>",
      "makingAmount": "<string>",
      "orderHash": "<string>",
      "orderType": "limit",
      "parsedMakerTraits": {
        "allowMultipleFills": true,
        "allowPartialFills": true,
        "allowedSenderSuffix": "<string>",
        "expiration": 1,
        "hasExtension": true,
        "needCheckEpochManager": true,
        "needPostInteractionCall": true,
        "needPreInteractionCall": true,
        "nonceOrEpoch": 1,
        "series": 1,
        "unwrapWeth": true,
        "usePermit2": true
      },
      "status": "<string>",
      "takerSrcOrToken": "<string>",
      "takerToken": "<string>",
      "takingAmount": "<string>",
      "cancelledAt": 1,
      "extension": "<string>",
      "filledAt": 1,
      "meta": "<unknown>",
      "recipient": "<string>"
    }
  ],
  "nextCursor": "<string>"
}

Path Parameters

blockchain
enum<string>
required
Available options:
ethereum,
bsc,
arbitrum
maker
string
required

Query Parameters

limit
integer
required
Required range: x >= 0
offset
integer
Required range: x >= 0
cursor
string

Response

data
object[]
required
nextCursor
string | null