bitcoin-canister icon indicating copy to clipboard operation
bitcoin-canister copied to clipboard

the plan about the implementation of getrawtransaction api

Open cymqqqq opened this issue 10 months ago • 2 comments

Hi Team, are there any roadmaps or plans about how to implement the interface of how to get the bitcoin raw transaction?

cymqqqq avatar Apr 10 '24 00:04 cymqqqq

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).

manudrijvers avatar Apr 10 '24 12:04 manudrijvers

An endpoint for fetching block headers is currently in the works in #297.

ielashi avatar May 16 '24 12:05 ielashi