Skip to main content
GET
/
trading
/
orders
TypeScript
const response: Promise<FireblocksResponse<GetOrdersResponse>> = fireblocks.tradingBeta.getOrders(tradingBetaApiGetOrdersRequest);
{
  "data": [
    {
      "id": "ord_5f8e2d9c1a7b4e36",
      "via": {
        "type": "PROVIDER_ACCOUNT",
        "providerId": "prov_8c3f1a4b2d6e9f7c",
        "accountId": "acc_5e9a2d1c4b7f3e8a"
      },
      "baseAmount": "1000.00",
      "quoteAmount": "0.02458",
      "baseAssetId": "USD",
      "quoteAssetId": "BTC",
      "status": "COMPLETED",
      "destination": {
        "type": "VAULT_ACCOUNT",
        "accountId": "vault_acc_7b2e5d8f1c4a9e3b"
      },
      "createdAt": "2024-01-15T10:30:00.000Z"
    }
  ],
  "total": 1,
  "next": "cursor_next_page_token"
}

Documentation Index

Fetch the complete documentation index at: https://fireblocks-43c4b3ee-chore-add-cli.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

pageSize
integer
required

pageSize for pagination.

Required range: 1 <= x <= 100
pageCursor
string
Minimum string length: 1
order
enum<string>
default:DESC

ASC / DESC ordering (default DESC)

Available options:
ASC,
DESC
accountId
string[]

Filter by accountId.

Minimum string length: 1
providerId
string[]

Filter by providerId.

Minimum string length: 1
statuses
enum<string>[]

Filter by order status.

Available options:
CREATED,
AWAITING_PAYMENT,
PENDING_USER_ACTION,
PROCESSING,
CANCELED,
COMPLETED,
FAILED
startTime
integer
Required range: x >= 0
endTime
integer
Required range: x >= 0
assetConversionType
enum<string>

Filter by asset conversion type.

Available options:
DIGITAL_ONLY,
FIAT

Response

Orders response

data
object[]
required
total
integer
required

Total number of orders matching the query.

next
string

A cursor for the next page of results, if available.