Is your feature request related to a problem? Please describe.
To verify the author's signature on a transaction, the user needs access to the original transaction.
Describe the solution you'd like
An API that enables a Fluree user to request and receive the contents of a particular transaction file, as identified by the "txn" value in the results of a history query.
Additional context
A few initial considerations:
Because transactions can be stored in multiple formats (JSON-LD and VCs, or JWSs, etc.), it might be beneficial to enable the requesting user to specify if they'd like the raw, unaltered contents or in a particular format. For instance, the user might want the contents of a JWS transaction returned to them in JSON-LD; the expectation being the JWS is parsed and the body is returned as JSON-LD.
Due to the potential size of txn files, it would be nice to have a meta-data API that allowed the user to first request attributes on the txn file, like storage format, size of content, etc. before committing to downloading the whole thing.
Is your feature request related to a problem? Please describe. To verify the author's signature on a transaction, the user needs access to the original transaction.
Describe the solution you'd like An API that enables a Fluree user to request and receive the contents of a particular transaction file, as identified by the
"txn"
value in the results of a history query.Additional context A few initial considerations:
txn
file, like storage format, size of content, etc. before committing to downloading the whole thing.