跳转到主要内容
GET
Get a trade's status
完整的交易流程请参阅 RFQ 交易合作伙伴 API 指南。

授权

RFQ-Key-Id
string
header
必填

The public half of the partner's API key.

RFQ-Timestamp
string
header
必填

Unix seconds, within 30 seconds of server time.

RFQ-Signature
string
header
必填

base64url(HMAC-SHA256(secret, timestamp + method + path + body)), padded.

路径参数

tradeId
string<uuid>
必填

响应

The trade's current status.

tradeId
string<uuid>
必填
idempotencyKey
string
必填
status
enum<string>
必填

PENDING until the trade lands on-chain (FILLED) or is refused or fails (REJECTED).

可用选项:
PENDING,
FILLED,
REJECTED
createdAt
string<date-time>
必填
combo
object

A combo's on-chain identity. Present on combo trades only.

transactionHash
string
failureReason

Why a REJECTED trade failed. execution_failed is a failure after submission to the exchange.

可用选项:
unknown_account,
account_restricted,
ofac_blocked,
insufficient_balance,
insufficient_allowance,
dependency_unavailable,
invalid_order,
token_market_mismatch,
stale_order,
fee_not_accepted,
market_not_tradable,
price_out_of_band,
price_deviation_exceeded,
price_mark_missing,
transaction_notional_exceeded,
taker_notional_below_minimum,
counterparty_notional_exceeded
filledAt
string<date-time>