How to get transaction history in Corda?

前端 未结 3 583
别跟我提以往
别跟我提以往 2020-12-10 07:01

To get state I can use Vault, but what about transactions? How I can get them, for example, by txHash? Is it possible to do this by CordaRPCOps, there is internalVerif

3条回答
  •  遥遥无期
    2020-12-10 07:54

    That's right, although please note that the ServiceHub and SQL approaches are basically the same thing as the deprecated RPC and may also stop working in future (or not, depending on how we manage the transition to an encrypted ledger).

    There are other approaches you can use. For instance you could aggregate the bits of history you care about up into the latest version of the state. This also lets you restrict the view of the history once SGX lands.

提交回复
热议问题