Offchain storage reterival

Questions and AnswersCategory: File System StorageOffchain storage reterival
Anshuman Srivastava asked 2 months ago

How can we retrieve off-chain stored data/files? For example if I upload a file during function call, how will I be able to retrieve it.

1 Answers
SIMBA Chain Staff answered 3 weeks ago

You can utilise the transaction_bundle_file or transaction_bundle_file_by_name endpoints in your API to retrieve the files. You can also use the methods provided in the SDKs, such as https://simbachain.github.io/libsimba-js/class/src/simba/simba.js~Simbachain.html#instance-method-getFileFromBundleByNameForTransaction