Get Transfers
Retrieves the transfer history for a specific subaccount.
Method Declaration
Python
async def get_subaccount_transfers(
self,
address: str,
subaccount_number: int,
limit: Optional[int] = None,
created_before_or_at_height: Optional[int] = None,
created_before_or_at: Optional[str] = None,
) -> AnyParameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
address | query | Address | true | The wallet address that owns the account. |
subaccount_number | query | SubaccountNumber | true | The identifier for the specific subaccount within the wallet address. |
limit | query | u32 | false | Maximum number of items in the response. |
createdBeforeOrAtHeight | query | Height | false | Restricts results to positions created at or before a specific blockchain height. |
createdBeforeOrAt | query | DateTime | false | Restricts results to positions created at or before a specific timestamp. |
page | query | u32 | false | The page number for paginated results. |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | TransferResponseObject ⛁ | The transfers data. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The subaccount was not found. |