Track Delta Order Auction Status

Get Delta Order Auction Status

GET https://api.paraswap.io/delta/orders/:orderId

This endpoint gets the Delta Order Auction.

{
  "id": "39fab1ec-c6f9-4ef6-928b-16ce86112810",
  "deltaVersion": "2.0",
  "status": "EXECUTED",
  "user": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
  "order": {
    "owner": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
    "beneficiary": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
    "srcToken": "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
    "destToken": "0x50c5725949a6f0c72e6c4a641f24049a917db0cb",
    "srcAmount": "10000000",
    "destAmount": "9946107391620902390",
    "expectedDestAmount": "9996087830774776272",
    "deadline": 1731321473,
    "nonce": 1731317878078,
    "partnerAndFee": "20974155095831688201008782508213971467846289911829368236151719561677686964224",
    "permit": "0x0000000000000000000000000000000000000000000000000000000000000009932f84ee9561af8b307bef8b1c4f671837b4944aa10b3230445b770173a5adecd25e3972824de809987eb28fbcc8a7d1f0f21ff5f1bc14b48271e8615777e158"
  },
  "orderHash": "0x8b2fe7008d5d58eca697ffe8473e539aa28f1ee5be71c820189a2f6197064640",
  "chainId": 8453,
  "partiallyFillable": false,
  "partner": "paraswap.io",
  "expiresAt": "2024-11-11T10:37:53.000Z",
  "createdAt": "2024-11-11T09:38:00.291Z",
  "updatedAt": "2024-11-11T09:38:11.494Z",
  "transactions": [
    {
      "id": "57cfec92-6557-4c62-bb07-4a58f365422e",
      "hash": "0xccd158177d037e1fc4a35be5d050bf941cda42996ec5fd3a4f347dfed63729ae",
      "blockNumber": 22264269,
      "blockHash": "0x4df22a4faa7ca34b35f563d7af083468acafc57e8667906b0313b7f81d433460",
      "gasUsed": 263318,
      "gasPrice": 3361361,
      "blobGasUsed": 0,
      "blobGasPrice": 0,
      "index": 46,
      "status": 1,
      "from": "0x2e5ef37ade8afb712b8be858fec7389fe32857e2",
      "to": "0x0000000000bbf5c5fd284e657f01bd000933c96d",
      "receivedAmount": "9996599629934298294",
      "spentAmount": "10000000",
      "filledPercent": 10000,
      "protocolFee": "511799159522021",
      "partnerFee": "0",
      "agent": "paraswap",
      "auctionId": "39fab1ec-c6f9-4ef6-928b-16ce86112810"
    }
  ]
}

Get Delta Orders for a User

GET https://api.paraswap.io/delta/orders

Query Parameters

Name
Type
Description

userAddress*

string

User Address.

chainId

string

Filters orders by Chain ID.

page

integer

Default: 1.

limit

integer

Default: 100.

[
  {
    "id": "f1ae9c56-3703-4d18-88ea-f130c98a1c31",
    "deltaVersion": "2.0",
    "user": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
    "status": "EXECUTED",
    "order": {
      "owner": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
      "beneficiary": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
      "srcToken": "0x50c5725949a6f0c72e6c4a641f24049a917db0cb",
      "destToken": "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
      "srcAmount": "1000000000000000000",
      "destAmount": "965021",
      "expectedDestAmount": "969871",
      "deadline": 1733862011,
      "nonce": "1733858413286",
      "partnerAndFee": "0",
      "permit": "0x"
    },
    "partiallyFillable": false,
    "orderHash": "0x52b0a7fffe16afd2e54f764ef97d13cbaf6511d78844bf3d0ee4346b7463ea21",
    "chainId": 8453,
    "partner": "paraswap.io-orders",
    "expiresAt": "2024-12-10T20:20:11.000Z",
    "createdAt": "2024-12-10T19:20:15.974Z",
    "updatedAt": "2024-12-10T19:20:26.974Z",
    "transactions": [
      {
        "id": "d1e98f2a-7b17-431c-8422-194a3d62ed55",
        "hash": "0x4f27f9741089b9063bac8d751a9429f7abec42e9260bd19c80993c5d9c6cf0f7",
        "blockNumber": 23534537,
        "blockHash": "0x4899dd82cda0d3b83562e566c172a2c178f2d4216b3ffddc95aa68cb1eac1260",
        "gasUsed": 225990,
        "gasPrice": 20377031,
        "blobGasUsed": 0,
        "blobGasPrice": 0,
        "index": 85,
        "status": 1,
        "from": "0xace5ae3de4baffc4a45028659c5ee330764e4f53",
        "to": "0x0000000000bbf5c5fd284e657f01bd000933c96d",
        "receivedAmount": "975353",
        "spentAmount": "1000000000000000000",
        "filledPercent": 10000,
        "protocolFee": "5481",
        "partnerFee": "0",
        "agent": "paraswap",
        "auctionId": "f1ae9c56-3703-4d18-88ea-f130c98a1c31"
      }
    ]
  },
  {
    "id": "9aaabb6b-bea0-4a5a-b2bc-e424d50d1c76",
    "deltaVersion": "2.0",
    "user": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
    "status": "EXECUTED",
    "order": {
      "owner": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
      "beneficiary": "0x75c94990d2ad92d8da4e0a238d872d09ec16706e",
      "srcToken": "0x50c5725949a6f0c72e6c4a641f24049a917db0cb",
      "destToken": "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
      "srcAmount": "1000000000000000000",
      "destAmount": "952437",
      "expectedDestAmount": "962058",
      "deadline": 1732214995,
      "nonce": 1732128595051,
      "partnerAndFee": "0",
      "permit": "0x"
    },
    "partiallyFillable": false,
    "orderHash": "0xafb66d6c833d4aade89e2da2448071419f39976fade76ae57368eeda9eba8571",
    "chainId": 8453,
    "partner": "anon",
    "expiresAt": "2024-11-21T18:49:55.000Z",
    "createdAt": "2024-11-20T18:49:56.472Z",
    "updatedAt": "2024-11-20T18:50:08.339Z",
    "transactions": [
      {
        "id": "611ef70c-1757-4515-8c76-b46b8ffe0bef",
        "hash": "0xbb5e026b47df724181b824ef767807d5f3751da0bb4440f4d383ad337b1dbe10",
        "blockNumber": 22669628,
        "blockHash": "0x19e5a5d93834404693aff0cf1ce844f935f20681e682c79f497910c00b4e3063",
        "gasUsed": 237664,
        "gasPrice": 32926467,
        "blobGasUsed": 0,
        "blobGasPrice": 0,
        "index": 36,
        "status": 1,
        "from": "0xace5ae3de4baffc4a45028659c5ee330764e4f53",
        "to": "0x0000000000bbf5c5fd284e657f01bd000933c96d",
        "receivedAmount": "968194",
        "spentAmount": "1000000000000000000",
        "filledPercent": 10000,
        "protocolFee": "6136",
        "partnerFee": "0",
        "agent": "paraswap",
        "auctionId": "9aaabb6b-bea0-4a5a-b2bc-e424d50d1c76"
      }
    ]
  },
]

Most common error messages

  • ValidationError - validation for params failed

  • UnsupportedChain - the chain ID is not supported by Delta.

Last updated