Bitcoin RawTransaction Structure RawTransaction Verbose transaction from getrawtransaction (verbose=true). struct RawTransaction Overview Extends DecodedTransaction fields with block context and hex. Note Targets Bitcoin Core v31.x. Topics Initializers init(from: any Decoder) throws Instance Properties let blockhash: String?The block hash containing the transaction. let blocktime: UnixTimestamp?The block time in seconds since epoch. let confirmations: Int?The number of confirmations. let hash: StringThe transaction hash (differs from txid for witness transactions). let hex: StringThe serialized, hex-encoded transaction data. let inActiveChain: Bool?Whether the transaction is in the active chain (only for blockhash lookups). let locktime: Int64The lock time. let size: IntThe serialized transaction size. let time: UnixTimestamp?The transaction time in seconds since epoch (same as block time). let txid: StringThe transaction id. let version: IntThe version. let vin: [Vin]The transaction inputs. let vout: [Vout]The transaction outputs. let vsize: IntThe virtual transaction size (differs from size for witness transactions). let weight: IntThe transaction’s weight (between vsize*4-3 and vsize*4).