Get order status by hash

Retrieves detailed information about a specific order including its status, fills, auction parameters, and metadata

GEThttps://api.1inch.com/fusion/orders/v2.0/{chain}/order/status/{orderHash}
Supported on:
EthereumBaseSolanaBNB ChainArcMonadOptimismPolygonLineaSonicUnichainRobinhood ChainArbitrumAvalancheCronosZKsyncGnosisHyperEVM

Parameters

chain
* number path
orderHash
* string path

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
const axios = require('axios');

async function httpCall() {
  const url =
    'https://api.1inch.com/fusion/orders/v2.0/{chain}/order/status/{orderHash}';

  const config = {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
    params: {},
    paramsSerializer: {
      indexes: null,
    },
  };

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

Returns

GetOrderFillsByHashOutput object
orderHash
* string
maker
* string
status
* string (Enum)
pending
filled
false-predicate
not-enough-balance-or-allowance
expired
partially-filled
wrong-permit
cancelled
invalid-signature
invalid-maker-traits
awaiting-signatures
unpublished
order
* any
allOf[0]
LimitOrderV4StructOutput object
salt
* string
maker
* string
receiver
* string
makerAsset
* string
takerAsset
* string
makingAmount
* string
takingAmount
* string
makerTraits
* string
extension
* object
points
* array
items
AuctionPointOutput object
delay
* number
coefficient
* number
approximateTakingAmount
* string
fills
* array
items
FillsOutput object
txHash
* string
filledMakerAmount
* string
filledAuctionTakerAmount
* string
takerFeeAmount
* string
auctionStartDate
* number
auctionDuration
* number
initialRateBump
* number
positiveSurplus
* string
isNativeCurrency
* boolean
version
* string (Enum)
2.0
2.1
2.2
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
{
  "orderHash": "0x496755a88564d8ded6759dff0252d3e6c3ef1fe42b4fa1bbc3f03bd2674f1078",
  "maker": "0x995BE1CA945174D5bA75410C1E658a41eB13a2FA",
  "status": "pending",
  "order": {
    "salt": "string",
    "maker": "0x995BE1CA945174D5bA75410C1E658a41eB13a2FA",
    "receiver": "0x995BE1CA945174D5bA75410C1E658a41eB13a2FA",
    "makerAsset": "0x995BE1CA945174D5bA75410C1E658a41eB13a2FA",
    "takerAsset": "0x995BE1CA945174D5bA75410C1E658a41eB13a2FA",
    "makingAmount": "100000000000000000",
    "takingAmount": "100000000000000000",
    "makerTraits": "string"
  },
  "extension": null,
  "points": [
    {
      "delay": 234,
      "coefficient": 200
    }
  ],
  "approximateTakingAmount": "100000000000000000",
  "fills": [
    {
      "txHash": "0x806039f5149065924ad52de616b50abff488c986716d052e9c160887bc09e559",
      "filledMakerAmount": "100000000000000000",
      "filledAuctionTakerAmount": "100000000000000000",
      "takerFeeAmount": "123123"
    }
  ],
  "auctionStartDate": 123123123123,
  "auctionDuration": 123123123123,
  "initialRateBump": 1000,
  "positiveSurplus": "1000",
  "isNativeCurrency": true,
  "version": "2.0",
  "cancelable": true
}

Did you find what you need?