Skip to content

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,
) -> Any

Parameters

ParameterLocationTypeRequiredDescription
addressqueryAddresstrueThe wallet address that owns the account.
subaccount_numberquerySubaccountNumbertrueThe identifier for the specific subaccount within the wallet address.
limitqueryu32falseMaximum number of items in the response.
createdBeforeOrAtHeightqueryHeightfalseRestricts results to positions created at or before a specific blockchain height.
createdBeforeOrAtqueryDateTimefalseRestricts results to positions created at or before a specific timestamp.
pagequeryu32falseThe page number for paginated results.

Response

StatusMeaningSchemaDescription
200OKTransferResponseObject ⛁The transfers data.
400Bad RequestThe request was malformed or invalid.
404Not FoundThe subaccount was not found.
API Example