We need to implement the /transaction_history endpoint in the Vault backend. This endpoint is responsible for retrieving transaction history for a specific account.
Details
Method: GET
Path: /transaction_history
Summary: Retrieve transaction history for a specific account.
Request Parameters:
address: The StarkNet address for which transaction history is to be retrieved.
pagination: (Optional) An integer specifying the pagination page number.
Description
We need to implement the
/transaction_history
endpoint in the Vault backend. This endpoint is responsible for retrieving transaction history for a specific account.Details
Request Parameters:
address: The StarkNet address for which transaction history is to be retrieved.
pagination: (Optional) An integer specifying the pagination page number.
Response:
Validation:
^0x0[0-9a-fA-F]{63}$
.Notes:
page_count
field indicates the total number of pages available for pagination.Suggested Implementation (using TypeScript and Fastify):
Tasks:
/transaction_history
endpoint.