Get Parent Fills
Query for fills (i.e. filled orders data) for a parent subaccount.
Method Declaration
Python
async def get_parent_fills(
self,
address: str,
subaccount_number: int,
limit: Optional[int] = None,
market: Optional[str] = None,
market_type: Optional[TickerType] = None,
created_before_or_at_height: Optional[int] = None,
created_before_or_at: Optional[str] = None,
) -> Any:Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
address | query | Address | true | The wallet address that owns the parent subaccount. |
parentSubaccountNumber | query | SubaccountNumber | true | The identifier for the specific subaccount within the wallet address. |
limit | query | u32 | false | Maximum number of asset positions to return in the response. |
createdBeforeOrAtHeight | query | Height | false | Filters results to positions created at or before a specific blockchain height. |
market | query | Ticker | false | Market id like USD-BTC, ETH-USD |
marketType | query | MarketType | false | Market type of filled order Data |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | FillResponseObject ⛁ | The fills data. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The parent subaccount was not found. |