GET
/
api
/
Orders
/
{orderId}
Get order by events by orderId
curl --request GET \
  --url https://dln-api.debridge.finance/api/Orders/{orderId}
{
  "orderId": {
    "bytesValue": "AA4r8JSgZRie2pvbP0vsvMKR1Rz9uWFc2cC+A9msUVI=",
    "bytesArrayValue": "[0,14,43,240,148,160,101,24,158,218,155,219,63,75,236,188,194,145,213,28,253,185,97,92,217,192,190,3,217,172,81,82]",
    "stringValue": "0x000e2bf094a065189eda9bdb3f4becbcc291d51cfdb9615cd9c0be03d9ac5152"
  },
  "makerOrderNonce": 40,
  "makerSrc": {
    "Base64Value": "Zj3BXTwaxj/xLkWraP6j8KiDwlE=",
    "bytesArrayValue": "[102,61,193,93,60,26,198,63,241,46,69,171,104,254,163,240,168,131,194,81]",
    "stringValue": "0x663dc15d3c1ac63ff12e45ab68fea3f0a883c251"
  },
  "giveOfferWithMetadata": {
    "chainId": {
      "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIk=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137]",
      "bigIntegerValue": 137,
      "stringValue": "137"
    },
    "tokenAddress": {
      "Base64Value": "J5G8ofLeRmHtiKMMmaepRJqoQXQ=",
      "bytesArrayValue": "[39,145,188,161,242,222,70,97,237,136,163,12,153,167,169,68,154,168,65,116]",
      "stringValue": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174"
    },
    "amount": {
      "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKNSk=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,53,41]",
      "bigIntegerValue": 668969,
      "stringValue": "668969"
    },
    "finalAmount": {
      "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKNSk=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,53,41]",
      "bigIntegerValue": 668969,
      "stringValue": "668969"
    },
    "metadata": {
      "decimals": 6,
      "name": "USD Coin (PoS)",
      "symbol": "USDC",
      "logoURI": "https://tokens.debridge.finance/Logo/137/0x2791bca1f2de4661ed88a30c99a7a9449aa84174/big/token-logo.png"
    },
    "decimals": 6,
    "name": "USD Coin (PoS)",
    "symbol": "USDC",
    "logoURI": "https://tokens.debridge.finance/Logo/137/0x2791bca1f2de4661ed88a30c99a7a9449aa84174/big/token-logo.png"
  },
  "receiverDst": {
    "Base64Value": "sh3+oBDpOfS7DwyzYTUphKjGrA0=",
    "bytesArrayValue": "[178,29,254,160,16,233,57,244,187,15,12,179,97,53,41,132,168,198,172,13]",
    "stringValue": "0xb21dfea010e939f4bb0f0cb361352984a8c6ac0d"
  },
  "takeOfferWithMetadata": {
    "chainId": {
      "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqGo=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,168,106]",
      "bigIntegerValue": 43114,
      "stringValue": "43114"
    },
    "tokenAddress": {
      "Base64Value": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]",
      "stringValue": "0x0000000000000000000000000000000000000000"
    },
    "amount": {
      "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABD7YnoGwAA=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,251,98,122,6,192,0]",
      "bigIntegerValue": 4780000000000000,
      "stringValue": "4780000000000000"
    },
    "finalAmount": {
      "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABD7YnoGwAA=",
      "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,251,98,122,6,192,0]",
      "bigIntegerValue": 4780000000000000,
      "stringValue": "4780000000000000"
    },
    "metadata": {
      "decimals": 18,
      "name": "Avalanche",
      "symbol": "AVAX",
      "logoURI": "https://tokens.debridge.finance/Logo/43114/0x0000000000000000000000000000000000000000/big/token-logo.svg"
    },
    "decimals": 18,
    "name": "Avalanche",
    "symbol": "AVAX",
    "logoURI": "https://tokens.debridge.finance/Logo/43114/0x0000000000000000000000000000000000000000/big/token-logo.svg"
  },
  "givePatchAuthoritySrc": {
    "Base64Value": "sh3+oBDpOfS7DwyzYTUphKjGrA0=",
    "bytesArrayValue": "[178,29,254,160,16,233,57,244,187,15,12,179,97,53,41,132,168,198,172,13]",
    "stringValue": "0xb21dfea010e939f4bb0f0cb361352984a8c6ac0d"
  },
  "orderAuthorityAddressDst": {
    "Base64Value": "sh3+oBDpOfS7DwyzYTUphKjGrA0=",
    "bytesArrayValue": "[178,29,254,160,16,233,57,244,187,15,12,179,97,53,41,132,168,198,172,13]",
    "stringValue": "0xb21dfea010e939f4bb0f0cb361352984a8c6ac0d"
  },
  "allowedTakerDst": {
    "Base64Value": null,
    "bytesArrayValue": "",
    "stringValue": null
  },
  "allowedCancelBeneficiarySrc": {
    "Base64Value": null,
    "bytesArrayValue": "",
    "stringValue": null
  },
  "state": "Fulfilled",
  "externalCallState": "NoExtCall",
  "referralCode": 2,
  "percentFee": {
    "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQs=",
    "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,11]",
    "bigIntegerValue": 267,
    "stringValue": "267"
  },
  "finalPercentFee": {
    "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQs=",
    "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,11]",
    "bigIntegerValue": 267,
    "stringValue": "267"
  },
  "fixFee": {
    "bytesValue": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvBbWdOyAAA=",
    "bytesArrayValue": "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,240,91,89,211,178,0,0]",
    "bigIntegerValue": 500000000000000000,
    "stringValue": "500000000000000000"
  },
  "unlockBeneficiarySrc": null,
  "cancelBeneficiarySrc": null,
  "taker": {
    "Base64Value": "wx/JTz/QiO5TrJFdbooU/yWiPEc=",
    "bytesArrayValue": "[195,31,201,79,63,208,136,238,83,172,145,93,110,138,20,255,37,162,60,71]",
    "stringValue": "0xc31fc94f3fd088ee53ac915d6e8a14ff25a23c47"
  },
  "unlockAuthorityDst": {
    "Base64Value": "VfYmWiZvcgKDW1ZhwdoEXzny5Yc=",
    "bytesArrayValue": "[85,246,38,90,38,111,114,2,131,91,86,97,193,218,4,95,57,242,229,135]",
    "stringValue": "0x55f6265a266f7202835b5661c1da045f39f2e587"
  },
  "affiliateFee": null,
  "createdSrcEventMetadata": {
    "transactionHash": {
      "stringValue": "0x23c83d7f578c3b54c4b10e884f3e939abca118441ff733a83e62d59b44d70267",
      "bytesValue": "I8g9f1eMO1TEsQ6ITz6TmryhGEQf9zOoPmLVm0TXAmc=",
      "bytesArrayValue": "[35,200,61,127,87,140,59,84,196,177,14,136,79,62,147,154,188,161,24,68,31,247,51,168,62,98,213,155,68,215,2,103]"
    },
    "blockNumber": 37867904,
    "blockHash": {
      "bytesValue": "xCNFl4qst1EIpkpfEJtBBe5C2QN0/Q20Ti1ZktZHeTM=",
      "bytesArrayValue": "[196,35,69,151,138,172,183,81,8,166,74,95,16,155,65,5,238,66,217,3,116,253,13,180,78,45,89,146,214,71,121,51]",
      "stringValue": "0xc42345978aacb75108a64a5f109b4105ee42d90374fd0db44e2d5992d6477933"
    },
    "blockTimeStamp": 1673279130,
    "initiator": {
      "Base64Value": "sh3+oBDpOfS7DwyzYTUphKjGrA0=",
      "bytesArrayValue": "[178,29,254,160,16,233,57,244,187,15,12,179,97,53,41,132,168,198,172,13]",
      "stringValue": "0xb21dfea010e939f4bb0f0cb361352984a8c6ac0d"
    }
  },
  "fulfilledDstEventMetadata": {
    "transactionHash": {
      "stringValue": "0x4af3a086ff58b0d7f2dc69810a52bb53efcbde2ea0081f3222d1b844375af4b7",
      "bytesValue": "SvOghv9YsNfy3GmBClK7U+/L3i6gCB8yItG4RDda9Lc=",
      "bytesArrayValue": "[74,243,160,134,255,88,176,215,242,220,105,129,10,82,187,83,239,203,222,46,160,8,31,50,34,209,184,68,55,90,244,183]"
    },
    "blockNumber": 24762199,
    "blockHash": {
      "bytesValue": "jUYlF3L7ju3hHUIbgiHFCXeu6BNo8jzb3+KAcwGZcuE=",
      "bytesArrayValue": "[141,70,37,23,114,251,142,237,225,29,66,27,130,33,197,9,119,174,232,19,104,242,60,219,223,226,128,115,1,153,114,225]",
      "stringValue": "0x8d46251772fb8eede11d421b8221c50977aee81368f23cdbdfe28073019972e1"
    },
    "blockTimeStamp": 1673359616,
    "initiator": {
      "Base64Value": "VfYmWiZvcgKDW1ZhwdoEXzny5Yc=",
      "bytesArrayValue": "[85,246,38,90,38,111,114,2,131,91,86,97,193,218,4,95,57,242,229,135]",
      "stringValue": "0x55f6265a266f7202835b5661c1da045f39f2e587"
    }
  },
  "sentUnlockDstEventInfo": {
    "transactionMetadata": null,
    "submissionId": {
      "bytesValue": null,
      "bytesArrayValue": null,
      "stringValue": null
    }
  },
  "claimedUnlockSrcEventInfo": {
    "transactionMetadata": null,
    "submissionId": {
      "bytesValue": null,
      "bytesArrayValue": null,
      "stringValue": null
    }
  },
  "orderCancelledDstEventMetadata": null,
  "sentOrderCancelDstEventInfo": {
    "transactionMetadata": null,
    "submissionId": {
      "bytesValue": null,
      "bytesArrayValue": null,
      "stringValue": null
    }
  },
  "claimedOrderCancelSrcEventInfo": {
    "transactionMetadata": null,
    "submissionId": {
      "bytesValue": null,
      "bytesArrayValue": null,
      "stringValue": null
    }
  },
  "preswapData": null,
  "externalCallData": null,
  "orderMetadata": null
}

Path Parameters

orderId
string
required

Id of an order to return the data for

Response

OK

orderId
object

Unique identifier of the order

makerOrderNonce
integer

Consecutive unique number of the order for given user in given chain

makerSrc
object
giveOfferWithMetadata
object

Info about an offer

receiverDst
object
takeOfferWithMetadata
object

Info about an offer

givePatchAuthoritySrc
object
orderAuthorityAddressDst
object
allowedTakerDst
object
allowedCancelBeneficiarySrc
object
state
enum<string>
Available options:
None,
Created,
Fulfilled,
SentUnlock,
OrderCancelled,
SentOrderCancel,
ClaimedUnlock,
ClaimedOrderCancel
externalCallState
enum<string>
Available options:
NoExtCall,
AwaitingOrderFulfillment,
AwaitingExecution,
Executing,
Completed,
Failed,
Cancelled,
OrderCancelled
referralCode
integer

Referral program code

percentFee
object
finalPercentFee
object
fixFee
object
unlockBeneficiarySrc
object
cancelBeneficiarySrc
object
taker
object
unlockAuthorityDst
object
affiliateFee
object
createdSrcEventMetadata
object
fulfilledDstEventMetadata
object
sentUnlockDstEventInfo
object

Information about an orderEvent

claimedUnlockSrcEventInfo
object

Information about an orderEvent

orderCancelledDstEventMetadata
object
sentOrderCancelDstEventInfo
object

Information about an orderEvent

claimedOrderCancelSrcEventInfo
object

Information about an orderEvent

preswapData
object
externalCallData
object

External call data

orderMetadata
object

Metadata of the order Raw order metadata Order metadata base class