taler-docs

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

testing-get-reserve-history.rst (664B)


      1 .. ts:op:: testingGetReserveHistory
      2 
      3   Fetch the history of a reserve from the exchange.  The reserve must
      4   be known to the wallet, as the request to the exchange is signed with
      5   the reserve's private key.
      6 
      7   **Request:**
      8 
      9     The request must be a `TestingGetReserveHistoryRequest` object.
     10 
     11   **Response:**
     12 
     13     On success, the result is an unspecified JSON value with the
     14     reserve history as returned by the exchange.
     15 
     16   **Side effects:**
     17 
     18     Queries the reserve history from the exchange over the network.
     19 
     20 .. ts:def:: TestingGetReserveHistoryRequest
     21 
     22   interface TestingGetReserveHistoryRequest {
     23     reservePub: string;
     24     exchangeBaseUrl: string;
     25   }