<p>This is the same <a href="https://blockstream.info/api/tx/e296d83b0442854cb58b709f2a231e3ba7e5530e506937f844b9cdd696ff27bc" rel="nofollow noreferrer">transaction using Blockstream.info API</a>, that shows is a Coinbase Tx, in my opinion a much clearer output than blockchain.info. As per <a href="https://en.bitcoin.it/wiki/Transaction#Generation" rel="nofollow noreferrer">Bitcoin Wiki</a> the sequence number is typically set to 0xFFFFFFFF (decimal: 4294967295), unless transaction's lock_time is &gt; 0.</p>
<pre><code>{
  &quot;txid&quot;: &quot;e296d83b0442854cb58b709f2a231e3ba7e5530e506937f844b9cdd696ff27bc&quot;,
  &quot;version&quot;: 2,
  &quot;locktime&quot;: 0,
  &quot;vin&quot;: [
    {
      &quot;txid&quot;: &quot;0000000000000000000000000000000000000000000000000000000000000000&quot;,
      &quot;vout&quot;: 4294967295,
      &quot;prevout&quot;: null,
      &quot;scriptsig&quot;: &quot;03046a0a046b03966062696e616e63652f626afabe6d6d5eab0f9044182c948a6cc6c4cfcc4c8df66f5839f34cbf36afff532d3eb0188e020000001e34c5f04e198bb203b9000000000000&quot;,
      &quot;scriptsig_asm&quot;: &quot;OP_PUSHBYTES_3 046a0a OP_PUSHBYTES_4 6b039660 OP_VER OP_VERIFY OP_2DUP OP_NOP OP_2DUP OP_IF OP_VERIF OP_PUSHBYTES_47 626afabe6d6d5eab0f9044182c948a6cc6c4cfcc4c8df66f5839f34cbf36afff532d3eb0188e020000001e34c5f04e OP_PUSHBYTES_25 &lt;push past end&gt;&quot;,
      &quot;witness&quot;: [
        &quot;0000000000000000000000000000000000000000000000000000000000000000&quot;
      ],
      &quot;is_coinbase&quot;: true,
      &quot;sequence&quot;: 4294967295
    }
  ],
  &quot;vout&quot;: [
    {
      &quot;scriptpubkey&quot;: &quot;00143156afc4249915008020f932783319f3e610b97d&quot;,
      &quot;scriptpubkey_asm&quot;: &quot;OP_0 OP_PUSHBYTES_20 3156afc4249915008020f932783319f3e610b97d&quot;,
      &quot;scriptpubkey_type&quot;: &quot;v0_p2wpkh&quot;,
      &quot;scriptpubkey_address&quot;: &quot;bc1qx9t2l3pyny2spqpqlye8svce70nppwtaxwdrp4&quot;,
      &quot;value&quot;: 679603284
    },
    {
      &quot;scriptpubkey&quot;: &quot;6a24aa21a9edc420b0f8e1264754b5baad9d6424a519a2e12941fecd869747590b577f87b3a3&quot;,
      &quot;scriptpubkey_asm&quot;: &quot;OP_RETURN OP_PUSHBYTES_36 aa21a9edc420b0f8e1264754b5baad9d6424a519a2e12941fecd869747590b577f87b3a3&quot;,
      &quot;scriptpubkey_type&quot;: &quot;op_return&quot;,
      &quot;value&quot;: 0
    }
  ],
  &quot;size&quot;: 240,
  &quot;weight&quot;: 852,
  &quot;fee&quot;: 0,
  &quot;status&quot;: {
    &quot;confirmed&quot;: true,
    &quot;block_height&quot;: 682500,
    &quot;block_hash&quot;: &quot;00000000000000000007e70fe4af876da9444d3ae9c3283ef859fc1d0cdf9417&quot;,
    &quot;block_time&quot;: 1620444011
  }
}
</code></pre>

CC BY-SA 4.0
2022-04-17T00:40:21.110Z
2022-04-17T00:40:21.110Z
Bitcoin_1o1
<p>When looking at e.g. <a href="https://blockchain.info/rawblock/682500" rel="nofollow noreferrer">this output</a>, for the &quot;input&quot; entry in first transaction in the block (i.e. always consist of newly generated coins):
<code>&quot;inputs&quot;:[{&quot;sequence&quot;:4294967295,&quot;witness&quot;:&quot;01200000000000000000000000000000000000000000000000000000000000000000&quot;,&quot;script&quot;:&quot;03046a0a046b03966062696e616e63652f626afabe6d6d5eab0f9044182c948a6cc6c4cfcc4c8df66f5839f34cbf36afff532d3eb0188e020000001e34c5f04e198bb203b9000000000000&quot;,&quot;index&quot;:0,&quot;prev_out&quot;:{&quot;tx_index&quot;:0,&quot;value&quot;:0,&quot;n&quot;:4294967295,&quot;type&quot;:0,&quot;spent&quot;:true,&quot;script&quot;:&quot;&quot;,&quot;spending_outpoints&quot;:[{&quot;tx_index&quot;:6620159290300855,&quot;n&quot;:0}]}}]</code></p>
<p>I wonder what does it mean by <code>&quot;value&quot;:0,&quot;n&quot;:4294967295</code>. I tried to look up <a href="https://www.blockchain.com/btc/tx/e296d83b0442854cb58b709f2a231e3ba7e5530e506937f844b9cdd696ff27bc" rel="nofollow noreferrer">here</a> in page for the number 4294967295 and found nothing. Also I suspect that the values for &quot;value&quot; and &quot;n&quot; seem to be reversed.</p>

<transactions><blockchain><blockchain.info>
Question about interpreting blockchain.info API return
Aqqqq
# Question about interpreting blockchain.info API return

(Asked by: username_0 on 2022-04-16)

When looking at e.g. [this output](https://blockchain.info/rawblock/682500), for the "input" entry in first transaction in the block (i.e. always consist of newly generated coins):
`"inputs":[{"sequence":4294967295,"witness":"01200000000000000000000000000000000000000000000000000000000000000000","script":"03046a0a046b03966062696e616e63652f626afabe6d6d5eab0f9044182c948a6cc6c4cfcc4c8df66f5839f34cbf36afff532d3eb0188e020000001e34c5f04e198bb203b9000000000000","index":0,"prev_out":{"tx_index":0,"value":0,"n":4294967295,"type":0,"spent":true,"script":"","spending_outpoints":[{"tx_index":6620159290300855,"n":0}]}}]`

I wonder what does it mean by `"value":0,"n":4294967295`. I tried to look up [here](https://www.blockchain.com/btc/tx/e296d83b0442854cb58b709f2a231e3ba7e5530e506937f844b9cdd696ff27bc) in page for the number 4294967295 and found nothing. Also I suspect that the values for "value" and "n" seem to be reversed.

**Tags:** transactions, blockchain, blockchain.info


---

## 1 answers

### Answer by username_1 on 2022-04-17. Score: 2 | Accepted answer

This is the same [transaction using Blockstream.info API](https://blockstream.info/api/tx/e296d83b0442854cb58b709f2a231e3ba7e5530e506937f844b9cdd696ff27bc), that shows is a Coinbase Tx, in my opinion a much clearer output than blockchain.info. As per [Bitcoin Wiki](https://en.bitcoin.it/wiki/Transaction#Generation) the sequence number is typically set to 0xFFFFFFFF (decimal: 4294967295), unless transaction's lock\_time is > 0.

```
{
  "txid": "e296d83b0442854cb58b709f2a231e3ba7e5530e506937f844b9cdd696ff27bc",
  "version": 2,
  "locktime": 0,
  "vin": [
    {
      "txid": "0000000000000000000000000000000000000000000000000000000000000000",
      "vout": 4294967295,
      "prevout": null,
      "scriptsig": "03046a0a046b03966062696e616e63652f626afabe6d6d5eab0f9044182c948a6cc6c4cfcc4c8df66f5839f34cbf36afff532d3eb0188e020000001e34c5f04e198bb203b9000000000000",
      "scriptsig_asm": "OP_PUSHBYTES_3 046a0a OP_PUSHBYTES_4 6b039660 OP_VER OP_VERIFY OP_2DUP OP_NOP OP_2DUP OP_IF OP_VERIF OP_PUSHBYTES_47 626afabe6d6d5eab0f9044182c948a6cc6c4cfcc4c8df66f5839f34cbf36afff532d3eb0188e020000001e34c5f04e OP_PUSHBYTES_25 <push past end>",
      "witness": [
        "0000000000000000000000000000000000000000000000000000000000000000"
      ],
      "is_coinbase": true,
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "scriptpubkey": "00143156afc4249915008020f932783319f3e610b97d",
      "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 3156afc4249915008020f932783319f3e610b97d",
      "scriptpubkey_type": "v0_p2wpkh",
      "scriptpubkey_address": "bc1qx9t2l3pyny2spqpqlye8svce70nppwtaxwdrp4",
      "value": 679603284
    },
    {
      "scriptpubkey": "6a24aa21a9edc420b0f8e1264754b5baad9d6424a519a2e12941fecd869747590b577f87b3a3",
      "scriptpubkey_asm": "OP_RETURN OP_PUSHBYTES_36 aa21a9edc420b0f8e1264754b5baad9d6424a519a2e12941fecd869747590b577f87b3a3",
      "scriptpubkey_type": "op_return",
      "value": 0
    }
  ],
  "size": 240,
  "weight": 852,
  "fee": 0,
  "status": {
    "confirmed": true,
    "block_height": 682500,
    "block_hash": "00000000000000000007e70fe4af876da9444d3ae9c3283ef859fc1d0cdf9417",
    "block_time": 1620444011
  }
}

```


---

