Block #605,129
000000000042d3789568d7c57593a24762af995b36dd44ca285a5d675f21c415


Summary


Date
11/15, 2015 10:44utc(8y, 10mo, 16d ago)
Total Output
5,631,396.57XEC
In #/Out #
173/344
UTXO Δ
+171 (+36KB))
Min, Max Tx Size
191-461 B
Size
62.5 KB
Confirmations
1,023,674

Technical Details


Difficulty
1 x 10
Version
0x00000004 (decimal: 4)
Nonce
374123826
Bits
1d00ffff
Merkle Root
c97d1e7472fded1546482205a752e322efde041b1a55c1508336f6f4de03b1df
Chainwork
123.11 x 1018hashes (6ac7f4b523746694e)

170 Transactions


OP_RETURN
data(utf-8) - =buffer.shift_unpack(4, '<L') block['tx_count']=buffer.shift_varint() block['txs']={} old_ptr=buffer.used() while buffer.remaining(): transaction=OP_RETURN_unpack_txn_buffer(buffer) new_ptr=buffer.used() size=new_ptr-old_ptr raw_txn_b
show raw
0

Total Output: 1,890,062.28XEC
OP_RETURN
data(utf-8) - inary=binary[old_ptr:old_ptr+size] txid=OP_RETURN_bin_to_hex(hashlib.sha256(hashlib.sha256(raw_txn_binary).digest()).digest()[::-1]) old_ptr=new_ptr transaction['size']=size block['txs'][txid]=transaction return block def OP_RETURN_unpac
show raw
0

Total Output: 1,890,032.28XEC
OP_RETURN
data(utf-8) - k_txn(binary): return OP_RETURN_unpack_txn_buffer(OP_RETURN_buffer(binary)) def OP_RETURN_unpack_txn_buffer(buffer): # see: https://en.bitcoin.it/wiki/Transactions txn={ 'vin': [], 'vout': [], } txn['version']=buffer.shift_unpack(4, '<L') #
show raw
0

Total Output: 1,890,002.28XEC
OP_RETURN
data(utf-8) - small-endian 32-bits inputs=buffer.shift_varint() if inputs>100000: # sanity check return None for _ in range(inputs): input={} input['txid']=OP_RETURN_bin_to_hex(buffer.shift(32)[::-1]) input['vout']=buffer.shift_unpack(4, '<L') leng
show raw
0

Total Output: 1,889,972.28XEC
OP_RETURN
data(utf-8) - th=buffer.shift_varint() input['scriptSig']=OP_RETURN_bin_to_hex(buffer.shift(length)) input['sequence']=buffer.shift_unpack(4, '<L') txn['vin'].append(input) outputs=buffer.shift_varint() if outputs>100000: # sanity check return None
show raw
0

Total Output: 1,889,942.28XEC
OP_RETURN
data(utf-8) - for _ in range(outputs): output={} output['value']=float(buffer.shift_uint64())/100000000 length=buffer.shift_varint() output['scriptPubKey']=OP_RETURN_bin_to_hex(buffer.shift(length)) txn['vout'].append(output) txn['locktime']=buffer.s
show raw
0

Total Output: 1,889,912.28XEC
OP_RETURN
data(utf-8) - hift_unpack(4, '<L') return txn def OP_RETURN_find_spent_txid(txns, spent_txid, spent_vout): for txid, txn_unpacked in txns.items(): for input in txn_unpacked['vin']: if (input['txid']==spent_txid) and (input['vout']==spent_vout): return tx
show raw
0

Total Output: 1,889,882.28XEC
OP_RETURN
data(utf-8) - id return None def OP_RETURN_find_txn_data(txn_unpacked): for index, output in enumerate(txn_unpacked['vout']): op_return=OP_RETURN_get_script_data(OP_RETURN_hex_to_bin(output['scriptPubKey'])) if op_return: return { 'index': index,
show raw
0

Total Output: 1,889,852.28XEC
OP_RETURN
data(utf-8) - 'op_return': op_return, } return None def OP_RETURN_get_script_data(scriptPubKeyBinary): op_return=None if scriptPubKeyBinary[0:1]==b'\x6a': first_ord=ord(scriptPubKeyBinary[1:2]) if first_ord<=75: op_return=scriptPubKeyBinary[
show raw
0

Total Output: 1,889,822.28XEC
OP_RETURN
data(utf-8) - 2:2+first_ord] elif first_ord==0x4c: op_return=scriptPubKeyBinary[3:3+ord(scriptPubKeyBinary[2:3])] elif first_ord==0x4d: op_return=scriptPubKeyBinary[4:4+ord(scriptPubKeyBinary[2:3])+256*ord(scriptPubKeyBinary[3:4])] return op_return def
show raw
0

Total Output: 1,889,792.28XEC
OP_RETURN
data(utf-8) - OP_RETURN_pack_txn(txn): binary=b'' binary+=struct.pack('<L', txn['version']) binary+=OP_RETURN_pack_varint(len(txn['vin'])) for input in txn['vin']: binary+=OP_RETURN_hex_to_bin(input['txid'])[::-1] binary+=struct.pack('<L', input['vout'])
show raw
0

Total Output: 1,889,762.28XEC
OP_RETURN
data(utf-8) - binary+=OP_RETURN_pack_varint(int(len(input['scriptSig'])/2)) # divide by 2 because it is currently in hex binary+=OP_RETURN_hex_to_bin(input['scriptSig']) binary+=struct.pack('<L', input['sequence']) binary+=OP_RETURN_pack_varint(len(txn['vout']
show raw
0

Total Output: 1,889,732.28XEC
OP_RETURN
data(utf-8) - )) for output in txn['vout']: binary+=OP_RETURN_pack_uint64(int(round(output['value']*100000000))) binary+=OP_RETURN_pack_varint(int(len(output['scriptPubKey'])/2)) # divide by 2 because it is currently in hex binary+=OP_RETURN_hex_to_bin(output[
show raw
0

Total Output: 1,889,702.28XEC
OP_RETURN
data(utf-8) - 'scriptPubKey']) binary+=struct.pack('<L', txn['locktime']) return binary def OP_RETURN_pack_varint(integer): if integer>0xFFFFFFFF: packed="\xFF"+OP_RETURN_pack_uint64(integer) elif integer>0xFFFF: packed="\xFE"+struct.pack('<L', integer)
show raw
0

Total Output: 1,889,672.28XEC
OP_RETURN
data(utf-8) - elif integer>0xFC: packed="\xFD"+struct.pack('<H', integer) else: packed=struct.pack('B', integer) return packed def OP_RETURN_pack_uint64(integer): upper=int(integer/4294967296) lower=integer-upper*4294967296 return struct.pack('<L', lower
show raw
0

Total Output: 1,889,642.28XEC
OP_RETURN
data(utf-8) - )+struct.pack('<L', upper) # Helper class for unpacking bitcoin binary data class OP_RETURN_buffer(): def __init__(self, data, ptr=0): self.data=data self.len=len(data) self.ptr=ptr def shift(self, chars): prefix=self.data[self.ptr:self.p
show raw
0

Total Output: 1,889,612.28XEC
OP_RETURN
data(utf-8) - tr+chars] self.ptr+=chars return prefix def shift_unpack(self, chars, format): unpack=struct.unpack(format, self.shift(chars)) return unpack[0] def shift_varint(self): value=self.shift_unpack(1, 'B') if value==0xFF: value=self.shif
show raw
0

Total Output: 1,889,582.28XEC
OP_RETURN
data(utf-8) - t_uint64() elif value==0xFE: value=self.shift_unpack(4, '<L') elif value==0xFD: value=self.shift_unpack(2, '<H') return value def shift_uint64(self): return self.shift_unpack(4, '<L')+4294967296*self.shift_unpack(4, '<L') def used(sel
show raw
0

Total Output: 1,889,552.28XEC
OP_RETURN
data(utf-8) - f): return min(self.ptr, self.len) def remaining(self): return max(self.len-self.ptr, 0) # Converting binary <-> hexadecimal def OP_RETURN_hex_to_bin(hex): try: raw=binascii.a2b_hex(hex) except Exception: return None return raw def O
show raw
0

Total Output: 1,889,522.28XEC
OP_RETURN
data(utf-8) - P_RETURN_bin_to_hex(string): return binascii.b2a_hex(string).decode('utf-8')
show raw
0

Total Output: 1,889,492.28XEC

Block Summary


{
    "hash": "000000000042d3789568d7c57593a24762af995b36dd44ca285a5d675f21c415",
    "confirmations": 1023674,
    "height": 605129,
    "version": 4,
    "versionHex": "00000004",
    "merkleroot": "c97d1e7472fded1546482205a752e322efde041b1a55c1508336f6f4de03b1df",
    "time": 1447584298,
    "mediantime": 1447581792,
    "nonce": 374123826,
    "bits": "1d00ffff",
    "difficulty": 1,
    "chainwork": "000000000000000000000000000000000000000000000006ac7f4b523746694e",
    "nTx": 170,
    "previousblockhash": "00000000007ad79cb84b8ba233f768daed6684aef0d0996182e3f5442c9ee9b3",
    "nextblockhash": "0000000000cf9a82973b38d2579b7aafdd2c0ccdbc47dc3242b018398b3e8df3",
    "size": 62500,
    "tx": "See 'Transaction IDs'",
    "coinbaseTx": {
        "txid": "2898cd605b4093e5975f4df0fd053f863b901214420ff36fe4adf978e5ef4cea",
        "hash": "2898cd605b4093e5975f4df0fd053f863b901214420ff36fe4adf978e5ef4cea",
        "version": 1,
        "size": 181,
        "locktime": 0,
        "vin": [
            {
                "coinbase": "03c93b09",
                "sequence": 4294967295
            }
        ],
        "vout": [
            {
                "value": 11880588.3,
                "n": 0,
                "scriptPubKey": {
                    "asm": "OP_HASH160 349ef962198fcc875f45e786598272ecace9818d OP_EQUAL",
                    "hex": "a914349ef962198fcc875f45e786598272ecace9818d87",
                    "reqSigs": 1,
                    "type": "scripthash",
                    "addresses": [
                        "ectest:pq6fa7tzrx8uep6lghncvkvzwtk2e6vp35dnwur9qx"
                    ]
                }
            },
            {
                "value": 625294.13,
                "n": 1,
                "scriptPubKey": {
                    "asm": "OP_HASH160 349ef962198fcc875f45e786598272ecace9818d OP_EQUAL",
                    "hex": "a914349ef962198fcc875f45e786598272ecace9818d87",
                    "reqSigs": 1,
                    "type": "scripthash",
                    "addresses": [
                        "ectest:pq6fa7tzrx8uep6lghncvkvzwtk2e6vp35dnwur9qx"
                    ]
                }
            },
            {
                "value": 0,
                "n": 2,
                "scriptPubKey": {
                    "asm": "OP_RETURN 0000000000000000000000000000000000000000000000000000000000000000",
                    "hex": "6a200000000000000000000000000000000000000000000000000000000000000000",
                    "type": "nulldata"
                }
            },
            {
                "value": 0,
                "n": 3,
                "scriptPubKey": {
                    "asm": "OP_RETURN 83550ee6bb890000",
                    "hex": "6a0883550ee6bb890000",
                    "type": "nulldata"
                }
            }
        ],
        "hex": "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0403c93b09ffffffff04ce56d0460000000017a914349ef962198fcc875f45e786598272ecace9818d87851fba030000000017a914349ef962198fcc875f45e786598272ecace9818d870000000000000000226a20000000000000000000000000000000000000000000000000000000000000000000000000000000000a6a0883550ee6bb89000000000000",
        "blockhash": "000000000042d3789568d7c57593a24762af995b36dd44ca285a5d675f21c415",
        "confirmations": 1023674,
        "time": 1447584298,
        "blocktime": 1447584298
    },
    "totalFees": "5882.43",
    "subsidy": "12500000"
}

Transaction IDs


Loading...

Block Stats


{
    "avgfee": 34.8,
    "avgfeerate": 0.09,
    "avgtxsize": 368,
    "blockhash": "000000000042d3789568d7c57593a24762af995b36dd44ca285a5d675f21c415",
    "height": 605129,
    "ins": 173,
    "maxfee": 200,
    "maxfeerate": 0.6,
    "maxtxsize": 461,
    "medianfee": 30,
    "medianfeerate": 0.06,
    "mediantime": 1447581792,
    "mediantxsize": 460,
    "minfee": 2.25,
    "minfeerate": 0.01,
    "mintxsize": 191,
    "outs": 344,
    "subsidy": 12500000,
    "time": 1447584298,
    "total_out": 550633774.46,
    "total_size": 62238,
    "totalfee": 5882.43,
    "txs": 170,
    "utxo_increase": 171,
    "utxo_size_inc": 35968,
    "finalized": true
}
hosted by bitcoinabc.org