/data/details/

GEThttps://api.aori.io

Get comprehensive order details including complete event history, execution timeline, and transaction information. Provides a full audit trail of order lifecycle events.

Request

  • Name
    orderHash
    Type
    string
    Description

    The unique identifier of the order to retrieve details for (required)

cURL

curl "https://api.aori.io/data/details?orderHash=0x1234567890abcdef1234567890abcdef12345678"

Response

  • Name
    orderHash
    Type
    string
    Description

    Unique identifier for the order

  • Name
    status
    Type
    string
    Description

    Current status of the order

  • Name
    offerer
    Type
    string
    Description

    Address that initiated the order

  • Name
    recipient
    Type
    string
    Description

    Address receiving the output tokens

  • Name
    inputToken
    Type
    string
    Description

    Input token contract address

  • Name
    inputAmount
    Type
    string
    Description

    Amount of input tokens

  • Name
    inputChain
    Type
    string
    Description

    Source chain identifier

  • Name
    outputToken
    Type
    string
    Description

    Output token contract address

  • Name
    outputAmount
    Type
    string
    Description

    Amount of output tokens

  • Name
    outputChain
    Type
    string
    Description

    Destination chain identifier

  • Name
    startTime
    Type
    number
    Description

    Unix timestamp when order became valid

  • Name
    endTime
    Type
    number
    Description

    Unix timestamp when order expires

  • Name
    createdAt
    Type
    number
    Description

    Unix timestamp when the order was created

  • Name
    events
    Type
    array
    Description

    Array of order events in chronological order

Order Event Object

  • Name
    eventType
    Type
    string
    Description

    Type of event (created, received, completed, failed)

  • Name
    timestamp
    Type
    number
    Description

    Unix timestamp when the event occurred

  • Name
    txHash
    Type
    string | null
    Description

    Transaction hash associated with the event (if applicable)

  • Name
    chain
    Type
    string | null
    Description

    Chain where the event occurred (if applicable)

  • Name
    blockNumber
    Type
    number | null
    Description

    Block number where the event was recorded (if applicable)

Response

{
  "orderHash": "0x1234567890abcdef1234567890abcdef12345678",
  "status": "completed",
  "offerer": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b",
  "recipient": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b",
  "inputToken": "0x4200000000000000000000000000000000000006",
  "inputAmount": "1000000000000000000",
  "inputChain": "base",
  "outputToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
  "outputAmount": "3200000000",
  "outputChain": "arbitrum",
  "startTime": 1703001600,
  "endTime": 1703005200,
  "createdAt": 1703001600,
  "events": [
    {
      "eventType": "created",
      "timestamp": 1703001600,
      "txHash": null,
      "chain": null,
      "blockNumber": null
    },
    {
      "eventType": "received",
      "timestamp": 1703001650,
      "txHash": "0xabc123def456789...",
      "chain": "base",
      "blockNumber": 12345678
    },
    {
      "eventType": "completed",
      "timestamp": 1703001780,
      "txHash": "0xdef456abc123789...",
      "chain": "arbitrum",
      "blockNumber": 87654321
    }
  ]
}