taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

testing-get-denom-stats.rst (737B)


      1 .. ts:op:: testingGetDenomStats
      2   :read-only:
      3 
      4   Get statistics about the denominations of an exchange known to the
      5   wallet.
      6 
      7   **Request:**
      8 
      9     The request must be a `TestingGetDenomStatsRequest` object.
     10 
     11   **Response:**
     12 
     13     On success, the result is a `TestingGetDenomStatsResponse` object.
     14 
     15 .. ts:def:: TestingGetDenomStatsRequest
     16 
     17   interface TestingGetDenomStatsRequest {
     18     exchangeBaseUrl: string;
     19   }
     20 
     21 .. ts:def:: TestingGetDenomStatsResponse
     22 
     23   interface TestingGetDenomStatsResponse {
     24     // Denominations known to the wallet for the exchange.
     25     numKnown: number;
     26 
     27     // Denominations currently offered by the exchange.
     28     numOffered: number;
     29 
     30     // Denominations that are not usable anymore.
     31     numLost: number;
     32   }