Bitcoin Pay-to-PubKeyHash (P2PKH) in multi-sig addresses

0

1

Can we send Pay-to-PubKeyHash (P2PKH) to an address which starts from 3 . I tried to send raw transaction to one of my coinbase address which starts from 3 but it send to completely different address which starts from 1 . How can I send transaction to address which starts from 3 ?

mohammad obaid

Posted 2018-08-20T11:52:11.937

Reputation: 1

Sounds like you are trying to sent bitcoin to a P2SH address (beginning with a 3) at Coinbase.com ? How are you constructing the transaction?

Jonathan Cross 2019-05-10T20:05:09.620

Answers

0

Can we send Pay-to-PubKeyHash (P2PKH) to an address which starts from 3

No.

How can I send transaction to address which starts from 3 ?

Construct scriptPub as OP_DUP OP_PUSH(bytes20) OP_EQUAL where bytes20 decoded from 3-address

amaclin

Posted 2018-08-20T11:52:11.937

Reputation: 5 763