Skip to content

Commit

Permalink
Update API example return
Browse files Browse the repository at this point in the history
The get transaction API response doesn't include the prevOut object
for each vin - it's only in the get transactions API.
  • Loading branch information
timothyej committed Jan 10, 2019
1 parent 6a97626 commit f4168d0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,7 @@ Returns the transaction together with extra vin data and other useful informatio
"scriptSig": { the signature script used to redeem the origin transaction
"asm": "asm", (string) disassembly of the script
"hex": "data", (string) hex-encoded bytes of the script
}
"prevOut": { data from the origin transaction output with index vout
"addresses": ["value",...], (array of string) previous output addresses
"value": n.nnn, (numeric) previous output value
}
},
"txinwitness": “data", (string) the witness stack for the input
"sequence": n, (numeric) the script sequence number
}, ...
Expand Down

0 comments on commit f4168d0

Please sign in to comment.