Get orders by maker address

GEThttps://api.1inch.com/fusion/orders/v1.0/{chain}/order/maker/{address}
Supported on:
Solana

Parameters

chain
* number path
address
* string path
page
number query
limit
number query
timestampFrom
number query
timestampTo
number query
srcMint
string query
dstMint
string query
withMint
string query

Request Body

This request doesn’t have any request body.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const axios = require('axios');

async function httpCall() {
  const url =
    'https://api.1inch.com/fusion/orders/v1.0/{chain}/order/maker/6uJb1VeHBzupesBi6xM9Sh98JhhfmM1nvMTYHL8Pd26b';

  const config = {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
    params: {
      page: 1,
      limit: 100,
      timestampFrom: 1794257273172,
      timestampTo: 1794257273172,
      srcMint: '4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU',
      dstMint: '4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU',
      withMint: '4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU',
    },
    paramsSerializer: {
      indexes: null,
    },
  };

  try {
    const response = await axios.get(url, config);
    console.log(response.data);
  } catch (error) {
    console.error(error);
  }
}

Returns

GetOrderFillsByMakerOutput object
meta
*Meta object
totalItems
* number
itemsPerPage
* number
totalPages
* number
currentPage
* number
items
* array
items
OrderFillsByMakerOutput object
orderHash
* string
maker
* string
status
* number (Enum)
0
200
301
order
* any
allOf[0]
FusionOrderDto object
id
* number
srcAmount
* string
minDstAmount
* string
estimatedDstAmount
* string
expirationTime
* number
receiver
* string
srcAssetIsNative
* boolean
dstAssetIsNative
* boolean
fee
* any
allOf[0]
FeeDto object
protocolFee
* number
integratorFee
* number
surplusPercentage
* number
protocolDstAta
* string
integratorDstAta
* string
maxCancellationPremium
* string
dutchAuctionData
* any
allOf[0]
DutchAuctionDataDto object
startTime
* number
duration
* number
initialRateBump
* number
pointsAndTimeDeltas
* array
items
PointsAndDelta object
rateBump
* number
timeDelta
* number
srcMint
* string
dstMint
* string
cancellationAuctionDuration
* number
approximateTakingAmount
* string
cancelTx
* object
fills
* array
items
FillOutput object
txSignature
* string
filledMakerAmount
* string
filledAuctionTakerAmount
* string
createdAt
* number
expirationTime
* number
cancelable
* boolean
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "meta": {
    "totalItems": 0,
    "itemsPerPage": 0,
    "totalPages": 0,
    "currentPage": 0
  },
  "items": [
    {
      "orderHash": "GxXW4Bhtn1xuFRgzAUNyMnYyBJgzvBALNPontUdmpENm",
      "maker": "6uJb1VeHBzupesBi6xM9Sh98JhhfmM1nvMTYHL8Pd26b",
      "status": 0,
      "order": {
        "id": 1,
        "srcAmount": "100000000000000000",
        "minDstAmount": "100000000000000000",
        "estimatedDstAmount": "100000000000000000",
        "expirationTime": 1634025600000,
        "receiver": "6uJb1VeHBzupesBi6xM9Sh98JhhfmM1nvMTYHL8Pd26b",
        "srcAssetIsNative": "true",
        "dstAssetIsNative": "false",
        "fee": {
          "protocolFee": 5,
          "integratorFee": 3,
          "surplusPercentage": 2,
          "protocolDstAta": "string",
          "integratorDstAta": "string",
          "maxCancellationPremium": "string"
        },
        "dutchAuctionData": {
          "startTime": 1715000000,
          "duration": 300,
          "initialRateBump": 1,
          "pointsAndTimeDeltas": [
            {
              "rateBump": 1,
              "timeDelta": 30
            }
          ]
        },
        "srcMint": "So11111111111111111111111111111111111111112",
        "dstMint": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
        "cancellationAuctionDuration": 1
      },
      "approximateTakingAmount": "970000000",
      "cancelTx": "5zXYv1KwMkGgyZ8hA5QYpMjPsnvPiK7PXivJLBX9vhvB",
      "fills": [
        {
          "txSignature": "41EYz9L7196ZYPY9V61u33Dhp6dpg7nY1pVexbxBs36xCQLo1fnxvFMBBpjXnkg3ETrz1jnjLPWYvzpu8xDkP39K",
          "filledMakerAmount": "100000000000000000",
          "filledAuctionTakerAmount": "100000000000000000"
        }
      ],
      "createdAt": 1715000000,
      "expirationTime": 1715000000,
      "cancelable": false
    }
  ]
}

Did you find what you need?