bitcoin-canister
bitcoin-canister copied to clipboard
the plan about the implementation of getrawtransaction api
Hi Team, are there any roadmaps or plans about how to implement the interface of how to get the bitcoin raw transaction?
DFINITY is planning to add an endpoint to the bitcoin canister that allows getting block headers. This should be relatively easy as it already holds these block headers, so hopefully that comes in the near future. Getting full block / tx info from the bitcoin canister would be a lot more work, but I think that as soon as you can securely get the block headers, you can build solutions on top of that that gives full tx / block details securely (by fetching data externally and validating against block headers).
An endpoint for fetching block headers is currently in the works in #297.