/data/status/

GEThttps://api.aori.io

Get the current status and execution details of a specific order by its hash. Returns real-time status information and transaction details.

Request

  • Name
    orderHash
    Type
    string
    Description

    The unique identifier of the order to check (required)

cURL

curl "https://api.aori.io/data/status?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
    srcTx
    Type
    string | null
    Description

    Source chain transaction hash (null if not yet executed)

  • Name
    dstTx
    Type
    string | null
    Description

    Destination chain transaction hash (null if not yet completed)

  • Name
    createdAt
    Type
    number
    Description

    Unix timestamp when the order was created

  • Name
    lastUpdated
    Type
    number
    Description

    Unix timestamp of the last status update

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,
  "srcTx": "0xabc123def456789...",
  "dstTx": "0xdef456abc123789...",
  "createdAt": 1703001600,
  "lastUpdated": 1703001780
}