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

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) - (result) if len(results)>=max_results: break # stop if we have collected enough return results # Utility functions def OP_RETURN_select_inputs(total_amount, testnet): # List and sort unspent inputs by priority unspent_inputs=OP_RETURN_
show raw
0

Total Output: 1,897,942.28XEC
OP_RETURN
data(utf-8) - bitcoin_cmd('listunspent', testnet, 0) if not isinstance(unspent_inputs, list): return {'error': 'Could not retrieve list of unspent inputs'} unspent_inputs.sort(key=lambda unspent_input: unspent_input['amount']*unspent_input['confirmations'], re
show raw
0

Total Output: 1,897,842.28XEC
OP_RETURN
data(utf-8) - verse=True) # Identify which inputs should be spent inputs_spend=[] input_amount=0 for unspent_input in unspent_inputs: inputs_spend.append(unspent_input) input_amount+=unspent_input['amount'] if input_amount>=total_amount: break # stop
show raw
0

Total Output: 1,897,742.28XEC
OP_RETURN
data(utf-8) - when we have enough if input_amount<total_amount: return {'error': 'Not enough funds are available to cover the amount and fee'} # Return the successful result return { 'inputs': inputs_spend, 'total': input_amount, } def OP_RETURN_crea
show raw
0

Total Output: 1,897,642.28XEC
OP_RETURN
data(utf-8) - te_txn(inputs, outputs, metadata, metadata_pos, testnet): raw_txn=OP_RETURN_bitcoin_cmd('createrawtransaction', testnet, inputs, outputs) txn_unpacked=OP_RETURN_unpack_txn(OP_RETURN_hex_to_bin(raw_txn)) metadata_len=len(metadata) if metadata_len
show raw
0

Total Output: 1,897,542.28XEC
OP_RETURN
data(utf-8) - <=75: payload=bytearray((metadata_len,))+metadata # length byte + data (https://en.bitcoin.it/wiki/Script) elif metadata_len<=256: payload="\x4c"+bytearray((metadata_len,))+metadata # OP_PUSHDATA1 format else: payload="\x4d"+bytearray((metadata_le
show raw
0

Total Output: 1,897,442.28XEC
OP_RETURN
data(utf-8) - n%256,))+bytearray((int(metadata_len/256),))+metadata # OP_PUSHDATA2 format metadata_pos=min(max(0, metadata_pos), len(txn_unpacked['vout'])) # constrain to valid values txn_unpacked['vout'][metadata_pos:metadata_pos]=[{ 'value': 0, 'scriptPubKey
show raw
0

Total Output: 1,897,342.28XEC
OP_RETURN
data(utf-8) - ': '6a'+OP_RETURN_bin_to_hex(payload) # here's the OP_RETURN }] return OP_RETURN_bin_to_hex(OP_RETURN_pack_txn(txn_unpacked)) def OP_RETURN_sign_send_txn(raw_txn, testnet): signed_txn=OP_RETURN_bitcoin_cmd('signrawtransaction', testnet, raw_txn) i
show raw
0

Total Output: 1,897,242.28XEC
OP_RETURN
data(utf-8) - f not ('complete' in signed_txn and signed_txn['complete']): return {'error': 'Could not sign the transaction'} send_txid=OP_RETURN_bitcoin_cmd('sendrawtransaction', testnet, signed_txn['hex']) if not (isinstance(send_txid, basestring) and len(send_
show raw
0

Total Output: 1,897,142.28XEC
OP_RETURN
data(utf-8) - txid)==64): return {'error': 'Could not send the transaction'} return {'txid': str(send_txid)} def OP_RETURN_list_mempool_txns(testnet): return OP_RETURN_bitcoin_cmd('getrawmempool', testnet) def OP_RETURN_get_mempool_txn(txid, testnet): raw_tx
show raw
0

Total Output: 1,897,042.28XEC
OP_RETURN
data(utf-8) - n=OP_RETURN_bitcoin_cmd('getrawtransaction', testnet, txid) return OP_RETURN_unpack_txn(OP_RETURN_hex_to_bin(raw_txn)) def OP_RETURN_get_mempool_txns(testnet): txids=OP_RETURN_list_mempool_txns(testnet) txns={} for txid in txids: txns[txid]=OP_RE
show raw
0

Total Output: 1,896,942.28XEC
OP_RETURN
data(utf-8) - TURN_get_mempool_txn(txid, testnet) return txns def OP_RETURN_get_raw_block(height, testnet): block_hash=OP_RETURN_bitcoin_cmd('getblockhash', testnet, height) if not (isinstance(block_hash, basestring) and len(block_hash)==64): return {'error':
show raw
0

Total Output: 1,896,842.28XEC
OP_RETURN
data(utf-8) - 'Block at height '+str(height)+' not found'} return { 'block': OP_RETURN_hex_to_bin(OP_RETURN_bitcoin_cmd('getblock', testnet, block_hash, False)) } def OP_RETURN_get_block_txns(height, testnet): raw_block=OP_RETURN_get_raw_block(height, testnet
show raw
0

Total Output: 1,896,742.28XEC
OP_RETURN
data(utf-8) - ) if 'error' in raw_block: return {'error': raw_block['error']} block=OP_RETURN_unpack_block(raw_block['block']) return block['txs'] # Talking to bitcoin-cli def OP_RETURN_bitcoin_check(testnet): info=OP_RETURN_bitcoin_cmd('getinfo', testnet)
show raw
0

Total Output: 1,896,642.28XEC
OP_RETURN
data(utf-8) - return isinstance(info, dict) and 'balance' in info def OP_RETURN_bitcoin_cmd(command, testnet, *args): # more params are read from here if OP_RETURN_BITCOIN_USE_CMD: sub_args=[OP_RETURN_BITCOIN_PATH] if testnet: sub_args.append('-testnet')
show raw
0

Total Output: 1,896,542.28XEC
OP_RETURN
data(utf-8) - sub_args.append(command) for arg in args: sub_args.append(json.dumps(arg) if isinstance(arg, (dict, list, tuple)) else str(arg)) raw_result=subprocess.check_output(sub_args).decode("utf-8").rstrip("\n") try: # decode JSON if possibl
show raw
0

Total Output: 1,896,442.28XEC
OP_RETURN
data(utf-8) - e result=json.loads(raw_result) except ValueError: result=raw_result else: request={ 'id': str(time.time())+'-'+str(random.randint(100000,999999)), 'method': command, 'params': args, } port=OP_RETURN_BITCOIN_PORT user=OP_RETU
show raw
0

Total Output: 1,896,342.28XEC
OP_RETURN
data(utf-8) - RN_BITCOIN_USER password=OP_RETURN_BITCOIN_PASSWORD if not (len(port) and len(user) and len(password)): #conf_lines=open(os.path.expanduser('~')+'/.bitcoin/bitcoin.conf').readlines() conf_lines=open(os.path.expanduser(CONF_FILE)).readlines()
show raw
0

Total Output: 1,896,242.28XEC
OP_RETURN
data(utf-8) - for conf_line in conf_lines: parts=conf_line.strip().split('=', 1) # up to 2 parts if (parts[0]=='rpcport') and not len(port): port=int(parts[1]) if (parts[0]=='rpcuser') and not len(user): user=parts[1] if (parts[0]=
show raw
0

Total Output: 1,896,142.28XEC
OP_RETURN
data(utf-8) - ='rpcpassword') and not len(password): password=parts[1] if not len(port): port=18332 if testnet else 8332 if not (len(user) and len(password)): return None # no point trying in this case url='http://'+OP_RETURN_BITCOIN_IP+':'+s
show raw
0

Total Output: 1,896,042.28XEC

Block Summary


{
    "hash": "00000000000006649f6846dc2586c39f02c2d7fc1f0562b747d8813b3327e75a",
    "confirmations": 1022523,
    "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