Closed cleo1552 closed 5 months ago
is this format correct to broadcast if not can someone please help me to correct it im trying to spend a utxo of coin base
To broadcast a transaction, you need it to be in raw hex format.
However, sweeping like that requires entering the private key on an online PC. Electrum currently does not support creating a watch-only wallet for a P2PK script, which would be necessary to offline sign a tx. Considering it is a lot of money, if you have the WIF key, you should probably just use Bitcoin Core. Create a wallet there using the WIF key on an offline PC. Export output script descriptors and use those to create a watch-only wallet on an online PC, then create an unsigned tx on the online PC, export that and sign it on the offline PC, then broadcast the signed tx on the online PC.
Transaction Hash 48fb3d15e828a31aab6ae17b6f5b14333d0701a9358f9d2ea57655c32cb53b90 Summary Height 175 Confirmations 843,477 Timestamp 2009-01-11 20:17:56 Size (134 ) 134 Bytes Virtual Size 134 Bytes Weight 536 Status Confirmed Input 50.00000000 BTC Output 48.00000000 BTC Sigops 2 Fees 02.00000000BTC Fees Rate(BTC/kVB) 0 BTC
Transaction Input (1)50.00000000 BTC
Output (1)48.00000000 BTC
Input Scripts P2PKH_PUBKEY 042d5b363ff00d911478e80cd101f7b0fca09126b9a6c98979fa15b251f3accebfd390ffe1132b97d73f37f79da7fdb747b2942d6f7f78c5da9401fd19120f00ce OP_CHECKSIG
OUTPUT SCRIPTS P2PKH_PUBKEY IHEP78PNqFOD9ZA9HIhtWlZdZpg+6ebxD3xH4Xr7zJZRNUQtuDi8xZIy7gdwG78CB4x5sWcx5D8LK1fORBzRnyE=