Confirm Outgoing Transaction

This section describes how to confirm an outgoing transaction by looking at the confirmation # in the transaction report.

Hours after I posted my outgoing transaction with the "bitcoin-cli sendtoaddress" command, I checked the transaction status as shown below:

C:\>\local\bitcoin-0.15.1\bin\bitcoin-cli.exe -testnet getrawtransaction 
   155657a1688b7f7ede2041190b055aa7b1ef427bbc343e4ef67342866934407e true
   
{
  "txid": 
    "155657a1688b7f7ede2041190b055aa7b1ef427bbc343e4ef67342866934407e",
  "hash": 
    "155657a1688b7f7ede2041190b055aa7b1ef427bbc343e4ef67342866934407e",
  "version": 2,
  "size": 226,
  "vsize": 226,
  "locktime": 1283724,
  "vin": [
    {
      "txid": 
        "da9406c4a2e1fe61f541c9298f276d6753bb3aaa7fa8ee1cc370ab41a292cd65",
      "vout": 1,
      "scriptSig": {...},
      "sequence": 4294967294
    }
  ],
  "vout": [
    {
      "value": 0.67825060,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 327c2eb1ce8e0b8aeae499cd54dddfca2bd57063 
          OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914327c2eb1ce8e0b8aeae499cd54dddfca2bd5706388ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "mk7tqzNcvFwBSQEiuESH3C5wEB3GtCLDPU"
        ]
      }
    },
    {
      "value": 1.00000000,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 780b970d70276f5e8a9357feab03287954482134 
          OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914780b970d70276f5e8a9357feab0328795448213488ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "mrThGN62W4noVhUvWUqHXesaMLB79NCEbW"
        ]
      }
    }
  ],
  "hex": "...",
  "blockhash": 
    "00000000000009f95b098ba566a9e73caf70bfdf6959abc10e631f31406e7a1a",
  "confirmations": 19,
  "time": 1519056260,
  "blocktime": 1519056260
}

Surprisingly, the transaction is confirmed. It is included in the 00000000000009f95b098ba566a9e73caf70bfdf6959abc10e631f31406e7a1a clock, and followed by 19 blocks.

By looking at the "vin" entry, Bitcoin fund came from the first output of transaction da9406c4a2e1fe61f541c9298f276d6753bb3aaa7fa8ee1cc370ab41a292cd65. So let's trace it back to the sender's address in the next tutorial.

Last update: 2018.

Table of Contents

 About This Book

 Introduction of Bitcoin

 Bitcoin Blockchain

 Bitcoin Wallet

 Bitcoin Core

Bitcoin Transaction

 What Is Bitcoin Transaction

 Receive Test Bitcoin from testnet.coinfaucet.eu

 View Transaction on live.blockcypher.com

 Receive Bitcoin in My Test Wallet

 View Bitcoin in My Test Wallet

 Bitcoin-Qt New Incoming Transaction Alert

 "bitcoin-cli sendtoaddress" - Send Bitcoin

Confirm Outgoing Transaction

 Trace Back Bitcoin Transaction Outputs

 Bitcoin-Qt - Bitcoin Core GUI

 Bitcoin Mining

 Bitcoin Consensus Rules

 Bitcoin Block Data Structure

 Bitcoin Transaction Data Structure

 blockexplorer.com API

 Copay - Bitcoin Wallet

 References

 PDF Printing Version