Block #605,129
000000000042d3789568d7c57593a24762af995b36dd44ca285a5d675f21c415


Summary


Date
11/15, 2015 10:44utc(8y, 11mo, 3d 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,026,069

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) - ght 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_he
show raw
0

Total Output: 1,891,262.28XEC
OP_RETURN
data(utf-8) - ight, 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.appen
show raw
0

Total Output: 1,891,232.28XEC
OP_RETURN
data(utf-8) - d(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,891,202.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'], r
show raw
0

Total Output: 1,891,172.28XEC
OP_RETURN
data(utf-8) - everse=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 # sto
show raw
0

Total Output: 1,891,142.28XEC
OP_RETURN
data(utf-8) - p 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_cre
show raw
0

Total Output: 1,891,112.28XEC
OP_RETURN
data(utf-8) - ate_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_le
show raw
0

Total Output: 1,891,082.28XEC
OP_RETURN
data(utf-8) - n<=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_l
show raw
0

Total Output: 1,891,052.28XEC
OP_RETURN
data(utf-8) - en%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, 'scriptPubKe
show raw
0

Total Output: 1,891,022.28XEC
OP_RETURN
data(utf-8) - y': '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)
show raw
0

Total Output: 1,890,992.28XEC
OP_RETURN
data(utf-8) - if 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,890,962.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_t
show raw
0

Total Output: 1,890,932.28XEC
OP_RETURN
data(utf-8) - xn=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_R
show raw
0

Total Output: 1,890,902.28XEC
OP_RETURN
data(utf-8) - ETURN_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,890,872.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, testne
show raw
0

Total Output: 1,890,842.28XEC
OP_RETURN
data(utf-8) - t) 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,890,812.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,890,782.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 possib
show raw
0

Total Output: 1,890,752.28XEC
OP_RETURN
data(utf-8) - le 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_RET
show raw
0

Total Output: 1,890,722.28XEC
OP_RETURN
data(utf-8) - URN_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,890,692.28XEC

Block Summary


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