Skip to content

Instantly share code, notes, and snippets.

@arobbins
Last active January 25, 2018 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arobbins/77a4b6d24ad94eb33abba3b620e5877d to your computer and use it in GitHub Desktop.
Save arobbins/77a4b6d24ad94eb33abba3b620e5877d to your computer and use it in GitHub Desktop.
Example Bitcoin transaction
{
"ver": 1,
"inputs": [
{
"sequence": 4294967295,
"witness": "",
"prev_out": {
"spent": true,
"tx_index": 326817500,
"type": 0,
"addr": "15WVHGHERRQd6xivvff9xgTfiP1Yc8756R",
"value": 1000000,
"n": 12,
"script": "76a91431742c5eac6226b5d4192c84e7f232abc6ad60ff88ac"
},
"script": "483045022100b89bb439656acd215949085ed9b6ef9eef6fac41bfb30484d97a09f3e74daa5702206a80fcbae9ae846d0ca1cfd8a88a3b87b1fcfede33d84e74f54c3d298c7e0dca0121031df37a3a5bdd801e1a43f91b8fd70e126541371bca8d09cbe4e437f7b516f585"
}
],
"weight": 760,
"block_height": 506046,
"relayed_by": "0.0.0.0",
"out": [
{
"spent": false,
"tx_index": 326822847,
"type": 0,
"addr": "3Pd6hFymPMLF6hzWCKFz3oECb9pHEqRnuX",
"value": 926540,
"n": 0,
"script": "a914f095160347f32bc80710d08b2347a6b502ebf66687"
}
],
"lock_time": 0,
"size": 190,
"double_spend": false,
"time": 1516883876,
"tx_index": 326822847,
"vin_sz": 1,
"hash": "a7d34fda9decd7fad90166f6a2c55e7ef1a26fd1aad081f70a0dec703365d99e",
"vout_sz": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment