|
|
@ -58,7 +58,7 @@ Creating and signing a transaction from an UTXO:
|
|
|
|
----
|
|
|
|
----
|
|
|
|
> utxo = {
|
|
|
|
> utxo = {
|
|
|
|
txId: transaction id containing an unspent output,
|
|
|
|
txId: transaction id containing an unspent output,
|
|
|
|
outputIndex: output indexi e.g. 0,
|
|
|
|
outputIndex: output index e.g. 0,
|
|
|
|
address: addressOfUtxo,
|
|
|
|
address: addressOfUtxo,
|
|
|
|
script: bitcore.Script.buildPublicKeyHashOut(addressOfUtxo).toString(),
|
|
|
|
script: bitcore.Script.buildPublicKeyHashOut(addressOfUtxo).toString(),
|
|
|
|
satoshis: amount sent to the address
|
|
|
|
satoshis: amount sent to the address
|
|
|
|