> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ostium.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Track Fills and History

> Fetch executed fills, order history, and execution outcomes with the Ostium Builder SDK.

## Fills

```ts theme={null}
const fills = await client.getFills({ limit: 100 });
```

## Time-range history

```ts theme={null}
const weeklyFills = await client.getFillsByTime({
  startTime: Date.now() - 7 * 24 * 60 * 60 * 1000,
});
```

## Order execution polling

```ts theme={null}
const orders = await client.getOrders({
  initiatedTxHashes: [txHash],
});
```

Use `getOrders()` to determine whether a submission is still pending, cancelled, or executed.
