Block #605,125
00000000000006649f6846dc2586c39f02c2d7fc1f0562b747d8813b3327e75a


Summary


Date
11/15, 2015 09:23utc(8y, 10mo, 9d ago)
Total Output
2,429,439.64XEC
In #/Out #
197/398
UTXO Δ
+201 (+42.9KB))
Min, Max Tx Size
225-461 B
Size
72.599 KB
Confirmations
1,022,522

Technical Details


Difficulty
1.831 x 106
Version
0x00000004 (decimal: 4)
Nonce
1272490712
Bits
1a092a20
Merkle Root
ca8167988912f0002d2f1acdc75227cbbb6568f186750ca2e481baa896743da1
Chainwork
123.11 x 1018hashes (6ac7f4b4e3742694a)

198 Transactions


OP_RETURN
data(utf-8) - k(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,899,942.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,899,842.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,899,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,899,642.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:dat
show raw
0

Total Output: 1,899,542.28XEC
OP_RETURN
data(utf-8) - a_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,899,442.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,899,342.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=change
show raw
0

Total Output: 1,899,242.28XEC
OP_RETURN
data(utf-8) - _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 Cor
show raw
0

Total Output: 1,899,142.28XEC
OP_RETURN
data(utf-8) - e 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,899,042.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,898,942.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,898,842.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,898,742.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, t
show raw
0

Total Output: 1,898,642.28XEC
OP_RETURN
data(utf-8) - xns.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,898,542.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['index
show raw
0

Total Output: 1,898,442.28XEC
OP_RETURN
data(utf-8) - ']+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,898,342.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 heig
show raw
0

Total Output: 1,898,242.28XEC
OP_RETURN
data(utf-8) - ht to keep looking else: if len(try_heights): this_height=try_heights.pop(0) if this_height==0: this_txns=OP_RETURN_get_mempool_txns(testnet) else: this_txns=OP_RETURN_get_block_txns(this_hei
show raw
0

Total Output: 1,898,142.28XEC
OP_RETURN
data(utf-8) - ght, testnet) else: result['error']='Data incomplete - could not find next transaction' break # Finish up the information about this result result['heights']=list(key_heights.keys()) results.append
show raw
0

Total Output: 1,898,042.28XEC

Block Summary


{
    "hash": "00000000000006649f6846dc2586c39f02c2d7fc1f0562b747d8813b3327e75a",
    "confirmations": 1022522,
    "height": 605125,
    "version": 4,
    "versionHex": "00000004",
    "merkleroot": "ca8167988912f0002d2f1acdc75227cbbb6568f186750ca2e481baa896743da1",
    "time": 1447579414,
    "mediantime": 1447579414,
    "nonce": 1272490712,
    "bits": "1a092a20",
    "difficulty": 1830636.372742288,
    "chainwork": "000000000000000000000000000000000000000000000006ac7f4b4e3742694a",
    "nTx": 198,
    "previousblockhash": "00000000005b0dbb631c6474eb6c75a44765964003085042dd311ff9b06fb085",
    "nextblockhash": "00000000007d9b40a89676c82fec8c07e749dd6c68f54cfdb0cf25986c0d6099",
    "size": 72599,
    "tx": "See 'Transaction IDs'",
    "coinbaseTx": {
        "txid": "ea7c401d61478bd26d6fe188ac312dd882fa7526cf517f556bb604fb4a8e7a84",
        "hash": "ea7c401d61478bd26d6fe188ac312dd882fa7526cf517f556bb604fb4a8e7a84",
        "version": 1,
        "size": 181,
        "locktime": 0,
        "vin": [
            {
                "coinbase": "03c53b09",
                "sequence": 4294967295
            }
        ],
        "vout": [
            {
                "value": 11888974.5,
                "n": 0,
                "scriptPubKey": {
                    "asm": "OP_HASH160 349ef962198fcc875f45e786598272ecace9818d OP_EQUAL",
                    "hex": "a914349ef962198fcc875f45e786598272ecace9818d87",
                    "reqSigs": 1,
                    "type": "scripthash",
                    "addresses": [
                        "ectest:pq6fa7tzrx8uep6lghncvkvzwtk2e6vp35dnwur9qx"
                    ]
                }
            },
            {
                "value": 625735.5,
                "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 00000000000000000000000000000000000000000000000082fd000000000000",
                    "hex": "6a2000000000000000000000000000000000000000000000000082fd000000000000",
                    "type": "nulldata"
                }
            },
            {
                "value": 0,
                "n": 3,
                "scriptPubKey": {
                    "asm": "OP_RETURN 55a5e7e0e84f0000",
                    "hex": "6a0855a5e7e0e84f0000",
                    "type": "nulldata"
                }
            }
        ],
        "hex": "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0403c53b09ffffffff04aa22dd460000000017a914349ef962198fcc875f45e786598272ecace9818d87eecbba030000000017a914349ef962198fcc875f45e786598272ecace9818d870000000000000000226a2000000000000000000000000000000000000000000000000082fd00000000000000000000000000000a6a0855a5e7e0e84f000000000000",
        "blockhash": "00000000000006649f6846dc2586c39f02c2d7fc1f0562b747d8813b3327e75a",
        "confirmations": 1022522,
        "time": 1447579414,
        "blocktime": 1447579414
    },
    "totalFees": "14710",
    "subsidy": "12500000"
}

Transaction IDs


Loading...

Block Stats


{
    "avgfee": 74.67,
    "avgfeerate": 0.2,
    "avgtxsize": 367,
    "blockhash": "00000000000006649f6846dc2586c39f02c2d7fc1f0562b747d8813b3327e75a",
    "height": 605125,
    "ins": 197,
    "maxfee": 200,
    "maxfeerate": 0.6,
    "maxtxsize": 461,
    "medianfee": 50,
    "medianfeerate": 0.17,
    "mediantime": 1447579414,
    "mediantxsize": 284,
    "minfee": 10,
    "minfeerate": 0.04,
    "mintxsize": 225,
    "outs": 398,
    "subsidy": 12500000,
    "time": 1447579414,
    "total_out": 230429254.32,
    "total_size": 72337,
    "totalfee": 14710,
    "txs": 198,
    "utxo_increase": 201,
    "utxo_size_inc": 42874,
    "finalized": true
}
hosted by bitcoinabc.org