Module transaction_api

Module transaction_api 

Source

Enums§

GetTransactionsCountError
struct for typed errors of method get_transactions_count

Functions§

get_transactions_count
Get the Count of Transactions This endpoint returns the total count of transactions present in the database. The response is a JSON object containing the count. # Responses * 200 OK: Successfully retrieved the count of transactions. The response body will be a JSON object with the structure { \"count\": i64 }, where i64 is the total number of transactions. * 500 Internal Server Error: Indicates that an error occurred on the server while processing the request. The response body will contain a JSON object with an error message. # Example json { \"count\": 123 }