如果您在作曲家游乐场部署您的网络,您可以访问“所有事务”
我假设与实施相同
“选择 org.hyperledger.composer.system.HistorianRecord”
但是在操场上有一个按钮“查看记录”
提供交易详情:
{
"$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 实现 Historian Record 查询时,我得到了记录的所有详细信息,但没有像上面提到的“查看记录”中提到的事务的详细信息
{
"$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"
},
如何查询查看记录详情?