Skip to main content
GET
Returns the status of an order. Only prediction market orders are supported.

Authorizations

x-api-key
string
header
required

API key for authentication. Contact hello@dflow.net to obtain an API key.

Query Parameters

signature
string
required

Base58-encoded transaction signature of the transaction received from the order endpoint. Only prediction market order signatures are supported.

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.