ネットワークを composer playground にデプロイすると、「すべてのトランザクション」にアクセスできます。
実装と同じだと思います
"org.hyperledger.composer.system.HistorianRecord を選択"
ただし、プレイグラウンドには「View Record」というボタンがあります。
トランザクションの詳細を提供します:
{
"$class": "org.ACME.OwnershipChange",
"PreviousOwner": "WHF_123",
"NewOwner": "HFS_456",
"debtID": "123123126",
"transactionId": "4e04116f-5788-48ac-9930-e0bf3beb74e3",
"timestamp": "2019-03-20T19:53:42.796Z"
}
Composer REST を介してヒストリアン レコード クエリを実装しようとすると、レコードの詳細はすべて取得されますが、上記の「レコードの表示」のようにトランザクションの詳細は取得されません。
{
"$class": "org.hyperledger.composer.system.HistorianRecord",
"transactionId": "2c80fd8b89cef32fb9dff6864d76b9fecd2194cd447266161fc9d1fb1a32aed9",
"transactionType": "org.ACME.OwnershipChange",
"transactionInvoked": "resource:org.ACME.OwnershipChange#2c80fd8b89cef32fb9dff6864d76b9fecd2194cd447266161fc9d1fb1a32aed9",
"participantInvoking": "resource:org.hyperledger.composer.system.NetworkAdmin#admin",
"identityUsed": "resource:org.hyperledger.composer.system.Identity#d258882fc3c452601433a729958ba3c592bd31e95fc43fbf493f5be3dc566dd1",
"eventsEmitted": [],
"transactionTimestamp": "2019-03-21T20:05:49.504Z"
},
ビュー レコードの詳細を照会するにはどうすればよいですか?