public BcApiSingleAddrTxItem getTxOutputItem(String addr) {
		checkNotNull(out);
		BcApiSingleAddrTxItem item = null;
		for (Map o : out) {
			if (o.containsKey("addr")) {
				String addrInOut = (String) o.get("addr");
				if (addr.equals(addrInOut)) {
					item = new BcApiSingleAddrTxItem();
					item.setAddr(addrInOut);
					if (o.containsKey("value")) {
						item.setValue(Utils.toLong(o.get("value")));
					} else {
						item.setValue(-1L);
					}

					if (o.containsKey("tx_index")) {
						item.setTxIndex(Utils.toLong(o.get("tx_index")));
					} else {
						item.setTxIndex(-1L);
					}
				}
			}
		}
		return item;
	}