<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Bitcoin",
  "identifier" : "/documentation/Bitcoin/Transaction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Bitcoin"
    ],
    "preciseIdentifier" : "s:7Bitcoin11TransactionV"
  },
  "title" : "Transaction"
}
-->

# Transaction

Represents a Bitcoin transaction as returned in verbose block/transaction RPCs.

```
struct Transaction
```

## Overview

Contains the full decoded transaction with inputs and outputs.
Fields like `blockhash`, `blocktime`, `confirmations` are present when the
transaction is confirmed (absent for mempool transactions in some contexts).