Skip to main content
GET
/
order-status
Returns the status of an order
curl --request GET \
  --url https://quote-api.dflow.net/order-status \
  --header 'x-api-key: <api-key>'
{
  "inAmount": "<string>",
  "outAmount": "<string>",
  "status": "pending",
  "fills": [
    {
      "inAmount": "<string>",
      "inputMint": "<string>",
      "outAmount": "<string>",
      "outputMint": "<string>",
      "signature": "<string>"
    }
  ],
  "reverts": [
    {
      "amount": "<string>",
      "mint": "<string>",
      "signature": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. Contact [email protected] to obtain an API key.

Query Parameters

signature
string
required

Base58-encoded transaction signature of the transaction received from the order endpoint

lastValidBlockHeight
integer<int64> | null

Last block height at which the transaction is valid

Required range: x >= 0

Response

Order status

inAmount
string
required

Total input amount filled, as a scaled integer. For example, 1 SOL is 1000000000.

outAmount
string
required

Total output amount filled, as a scaled integer. For example, 1 SOL is 1000000000.

status
enum<string>
required

Status of the order

Available options:
pending,
expired,
failed,
open,
pendingClose,
closed
fills
object[]

Fills for the order. Specified if and only if the order has at least one fill.

reverts
object[]

Reverts for the order. Specified if and only if the order has at least one revert.