Order Lookup
Trade Transfer Orders Order Lookup (v1.0.0)
Download OpenAPI specification:Download
API Documentation for Trade Transfer Orders Order Lookup
GetOrderByExternalID
GetOrderByExternalID looks up an order by market id and external id.
Authorizations:
bearerAuth
path Parameters
| market_id required | integer (market_id) market_id is the id of the market that's expected to have the order. |
| external_id required | string (external_id) external_id the external id to look up. |
Responses
Response samples
- 200
Content type
application/json
{- "order": {
- "orderId": 0,
- "askOrder": {
- "marketId": 0,
- "seller": "string",
- "assets": {
- "denom": "string",
- "amount": "string"
}, - "price": {
- "denom": "string",
- "amount": "string"
}, - "sellerSettlementFlatFee": {
- "denom": "string",
- "amount": "string"
}, - "allowPartial": true,
- "externalId": "string"
}
}
}GetOrder
GetOrder looks up an order by id.
Authorizations:
bearerAuth
path Parameters
| order_id required | integer or string <int64> (order_id) order_id is the id of the order to look up. |
Responses
Response samples
- 200
Content type
application/json
{- "order": {
- "orderId": 0,
- "askOrder": {
- "marketId": 0,
- "seller": "string",
- "assets": {
- "denom": "string",
- "amount": "string"
}, - "price": {
- "denom": "string",
- "amount": "string"
}, - "sellerSettlementFlatFee": {
- "denom": "string",
- "amount": "string"
}, - "allowPartial": true,
- "externalId": "string"
}
}
}GetOrderByExternalID
GetOrderByExternalID looks up an order by market id and external id.
Authorizations:
bearerAuth
path Parameters
| market_id required | integer (market_id) market_id is the id of the market that's expected to have the order. |
| external_id required | string (external_id) external_id the external id to look up. |
Responses
Response samples
- 200
Content type
application/json
{- "order": {
- "orderId": 0,
- "askOrder": {
- "marketId": 0,
- "seller": "string",
- "assets": {
- "denom": "string",
- "amount": "string"
}, - "price": {
- "denom": "string",
- "amount": "string"
}, - "sellerSettlementFlatFee": {
- "denom": "string",
- "amount": "string"
}, - "allowPartial": true,
- "externalId": "string"
}
}
}