Exchanges
Read one exchange with its transaction ids
Reads one exchange group: the commodities, the stored rate, and the ids of every transaction created with it.
GET
/v1/ledgers/{ledgerId}/exchanges/{exchangeId}Reads one exchange group: the commodities, the stored rate, and the ids of every transaction created with it. An unknown or foreign exchange id answers exchange_not_found (404).
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
ledgerId*string
Format
uuidexchangeId*string
Format
uuidResponse Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/exchanges/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "from_commodity": "string", "to_commodity": "string", "rate_num": 0, "rate_den": 0, "txn_ids": [ "f6c4a82f-6b80-4863-aa86-516323128055" ], "created_at": "2019-08-24T14:15:22Z"}