New answers tagged

0 votes

Bitcoin segwit addresses from HEX

For old and new address format (P2SH, P2WPKH, P2WSH) you can use Universal Bitcoin Address Generator library: You can generate and convert every type ...
toggio's user avatar
  • 1
2 votes

Why can I not find my transaction in the mempool?

This transaction appears to not be eligible for confirmation because it spends inputs that do not exist. You write that you are using testnet, but neither of the two transactions 21f5…a273 and 2275…...
Murch's user avatar
  • 75.4k
2 votes

Exact witness requirements for a segwit transaction with P2PKH and P2WPKH inputs

From the BIP141 specification: The witness is a serialization of all witness fields of the transaction. Each txin is associated with a witness field. A witness field starts with a var_int to indicate ...
Lee's user avatar
  • 588
0 votes

how to create txid from transaction.json

Calculating TxID convert data into Bitcoin's pre-segwit network serialisation. Taking care not to make any of the most common mistakes: Encode counts/lengths using the Bitcoin variable-length ...
RedGrittyBrick's user avatar

Top 50 recent answers are included