This PR implements date range filtering for the transfer list API by:
close #1544
Adding created_from and created_to query parameters to GET: /Token/{token_address}/TransferHistory
Implementing a datetime string validator that:
Accepts ISO 8601 format with timezone information
Converts input to UTC
Returns a consistent datetime format
Updating the query builder to filter transfers based on the validated date range
Introducing ValidatedDatetimeStr type for improved type checking
These changes align the GET endpoint's functionality with the existing POST: /Token/{token_address}/TransferHistory/Search endpoint, providing a consistent API experience for date range filtering across both methods.
This PR implements date range filtering for the transfer list API by:
created_from
andcreated_to
query parameters toGET: /Token/{token_address}/TransferHistory
ValidatedDatetimeStr
type for improved type checkingThese changes align the GET endpoint's functionality with the existing
POST: /Token/{token_address}/TransferHistory/Search
endpoint, providing a consistent API experience for date range filtering across both methods.