Skip to main content
GET
Get single order by ID

授权

POLY_API_KEY
string
header
必填

Your API key

POLY_ADDRESS
string
header
必填

Ethereum address associated with the API key

POLY_SIGNATURE
string
header
必填

HMAC signature of the request

POLY_PASSPHRASE
string
header
必填

API key passphrase

POLY_TIMESTAMP
string
header
必填

Unix timestamp of the request

路径参数

orderID
string
必填

Order ID (order hash)

响应

Successfully retrieved order

id
string
必填

Order ID (order hash)

示例:

"0xabcdef1234567890abcdef1234567890abcdef12"

status
enum<string>
必填

Order status

可用选项:
ORDER_STATUS_LIVE,
ORDER_STATUS_INVALID,
ORDER_STATUS_CANCELED_MARKET_RESOLVED,
ORDER_STATUS_CANCELED,
ORDER_STATUS_MATCHED
owner
string
必填

UUID of the order owner

示例:

"f4f247b7-4ac7-ff29-a152-04fda0a8755a"

maker_address
string
必填

Ethereum address of the maker

示例:

"0x1234567890123456789012345678901234567890"

market
string
必填

Market (condition ID)

示例:

"0x0000000000000000000000000000000000000000000000000000000000000001"

asset_id
string
必填

Asset ID (token ID)

示例:

"0xabc123def456..."

side
enum<string>
必填

Order side

可用选项:
BUY,
SELL
示例:

"BUY"

original_size
string
必填

Original order size in fixed-math with 6 decimals

示例:

"100000000"

size_matched
string
必填

Size that has been matched in fixed-math with 6 decimals

示例:

"0"

price
string
必填

Order price

示例:

"0.5"

outcome
string
必填

Market outcome (YES/NO)

示例:

"YES"

expiration
string
必填

Unix timestamp when the order expires

示例:

"1735689600"

order_type
enum<string>
必填

Order type

可用选项:
GTC,
FOK,
GTD,
FAK
示例:

"GTC"

created_at
integer
必填

Unix timestamp when the order was created

示例:

1700000000

associate_trades
string[]

Array of associated trade IDs

示例: