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,665

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) - en(outputs), testnet) # Sign and send the transaction, return result return OP_RETURN_sign_send_txn(raw_txn, testnet) def OP_RETURN_store(data, testnet=False): # Data is stored in OP_RETURNs within a series of chained transactions. # If the OP_RET
show raw
0

Total Output: 1,891,862.28XEC
OP_RETURN
data(utf-8) - URN is followed by another output, the data continues in the transaction spending that output. # When the OP_RETURN is the last output, this also signifies the end of the data. # Validate parameters and get change address if not OP_RETURN_bitcoin_che
show raw
0

Total Output: 1,891,832.28XEC
OP_RETURN
data(utf-8) - ck(testnet): return {'error': 'Please check Bitcoin Core is running and OP_RETURN_BITCOIN_* constants are set correctly'} if isinstance(data, basestring): data=data.encode('utf-8') # convert to binary string data_len=len(data) if data_len==0:
show raw
0

Total Output: 1,891,802.28XEC
OP_RETURN
data(utf-8) - return {'error': 'Some data is required to be stored'} change_address=OP_RETURN_bitcoin_cmd('getrawchangeaddress', testnet) # Calculate amounts and choose first inputs to use output_amount=OP_RETURN_BTC_FEE*int((data_len+OP_RETURN_MAX_BYTES-1)/OP
show raw
0

Total Output: 1,891,772.28XEC
OP_RETURN
data(utf-8) - _RETURN_MAX_BYTES) # number of transactions required inputs_spend=OP_RETURN_select_inputs(output_amount, testnet) if 'error' in inputs_spend: return {'error': inputs_spend['error']} inputs=inputs_spend['inputs'] input_amount=inputs_spend['total
show raw
0

Total Output: 1,891,742.28XEC
OP_RETURN
data(utf-8) - '] # Find the current blockchain height and mempool txids height=int(OP_RETURN_bitcoin_cmd('getblockcount', testnet)) avoid_txids=OP_RETURN_bitcoin_cmd('getrawmempool', testnet) # Loop to build and send transactions result={'txids':[]} for data
show raw
0

Total Output: 1,891,712.28XEC
OP_RETURN
data(utf-8) - _ptr in range(0, data_len, OP_RETURN_MAX_BYTES): # Some preparation for this iteration last_txn=((data_ptr+OP_RETURN_MAX_BYTES)>=data_len) # is this the last tx in the chain? change_amount=input_amount-OP_RETURN_BTC_FEE metadata=data[data_ptr:da
show raw
0

Total Output: 1,891,682.28XEC
OP_RETURN
data(utf-8) - ta_ptr+OP_RETURN_MAX_BYTES] # Build and send this transaction outputs={} if change_amount>=OP_RETURN_BTC_DUST: # might be skipped for last transaction outputs[change_address]=change_amount raw_txn=OP_RETURN_create_txn(inputs, outputs,
show raw
0

Total Output: 1,891,652.28XEC
OP_RETURN
data(utf-8) - metadata, len(outputs) if last_txn else 0, testnet) send_result=OP_RETURN_sign_send_txn(raw_txn, testnet) # Check for errors and collect the txid if 'error' in send_result: result['error']=send_result['error'] break result['txids'
show raw
0

Total Output: 1,891,622.28XEC
OP_RETURN
data(utf-8) - ].append(send_result['txid']) if data_ptr==0: result['ref']=OP_RETURN_calc_ref(height, send_result['txid'], avoid_txids) # Prepare inputs for next iteration inputs=[{ 'txid': send_result['txid'], 'vout': 1, }] input_amount=chang
show raw
0

Total Output: 1,891,592.28XEC
OP_RETURN
data(utf-8) - e_amount # Return the final result return result def OP_RETURN_retrieve(ref, max_results=1, testnet=False): # Validate parameters and get status of Bitcoin Core if not OP_RETURN_bitcoin_check(testnet): return {'error': 'Please check Bitcoin Co
show raw
0

Total Output: 1,891,562.28XEC
OP_RETURN
data(utf-8) - re is running and OP_RETURN_BITCOIN_* constants are set correctly'} max_height=int(OP_RETURN_bitcoin_cmd('getblockcount', testnet)) heights=OP_RETURN_get_ref_heights(ref, max_height) if not isinstance(heights, list): return {'error': 'Ref is not
show raw
0

Total Output: 1,891,532.28XEC
OP_RETURN
data(utf-8) - valid'} # Collect and return the results results=[] for height in heights: if height==0: txids=OP_RETURN_list_mempool_txns(testnet) # if mempool, only get list for now (to save RPC calls) txns=None else: txns=OP_RETURN_get_block_txns
show raw
0

Total Output: 1,891,502.28XEC
OP_RETURN
data(utf-8) - (height, testnet) # if block, get all fully unpacked txids=txns.keys() for txid in txids: if OP_RETURN_match_ref_txid(ref, txid): if height==0: txn_unpacked=OP_RETURN_get_mempool_txn(txid, testnet) else: txn_unpacked=txns[txid
show raw
0

Total Output: 1,891,472.28XEC
OP_RETURN
data(utf-8) - ] found=OP_RETURN_find_txn_data(txn_unpacked) if found: # Collect data from txid which matches ref and contains an OP_RETURN result={ 'txids': [str(txid)], 'data': found['op_return'], } key
show raw
0

Total Output: 1,891,442.28XEC
OP_RETURN
data(utf-8) - _heights={height: True} # Work out which other block heights / mempool we should try if height==0: try_heights=[] # nowhere else to look if first still in mempool else: result['ref']=OP_RETURN_calc_ref(height, txid,
show raw
0

Total Output: 1,891,412.28XEC
OP_RETURN
data(utf-8) - txns.keys()) try_heights=OP_RETURN_get_try_heights(height+1, max_height, False) # Collect the rest of the data, if appropriate if height==0: this_txns=OP_RETURN_get_mempool_txns(testnet) # now retrieve all to follow chain
show raw
0

Total Output: 1,891,382.28XEC
OP_RETURN
data(utf-8) - else: this_txns=txns last_txid=txid this_height=height while found['index'] < (len(txn_unpacked['vout'])-1): # this means more data to come next_txid=OP_RETURN_find_spent_txid(this_txns, last_txid, found['inde
show raw
0

Total Output: 1,891,352.28XEC
OP_RETURN
data(utf-8) - x']+1) # If we found the next txid in the data chain if next_txid: result['txids'].append(str(next_txid)) txn_unpacked=this_txns[next_txid] found=OP_RETURN_find_txn_data(txn_unpacked) if found:
show raw
0

Total Output: 1,891,322.28XEC
OP_RETURN
data(utf-8) - result['data']+=found['op_return'] key_heights[this_height]=True else: result['error']='Data incomplete - missing OP_RETURN' break last_txid=next_txid # Otherwise move on to the next hei
show raw
0

Total Output: 1,891,292.28XEC

Block Summary


{
    "hash": "000000000042d3789568d7c57593a24762af995b36dd44ca285a5d675f21c415",
    "confirmations": 1023665,
    "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": 1023664,
        "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