0

Quickly surfing through the list of electrum methods, looks like not, and I will have to use getblock from bitcoind json-rpc. Is there a better way?

3
  • Looping for all: blockchain.transaction.id_from_pos?
    – MCCCS
    Commented Jul 8, 2020 at 17:51
  • thanks @MCCCS that looks like what I need! is there a way to get how many transactions there are in a specific block (without iterating to some ridiculous value like 99999)? Commented Jul 11, 2020 at 12:42
  • No I don't think that's possible, you need to iterate (though you can check like 1,2,4,8,...512,1024) then binary bisect
    – MCCCS
    Commented Jul 11, 2020 at 12:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.