data class WireTransaction : NamedByHashTransaction ready for serialisation, without any signatures attached.
| <init> |
WireTransaction(inputs: List<StateRef>, attachments: List<SecureHash>, outputs: List<TransactionState<ContractState>>, commands: List<Command>, signers: List<PublicKey>, type: TransactionType)Transaction ready for serialisation, without any signatures attached. |
| attachments |
val attachments: List<SecureHash> |
| commands |
val commands: List<Command> |
| id |
val id: SecureHash |
| inputs |
val inputs: List<StateRef> |
| outputs |
val outputs: List<TransactionState<ContractState>> |
| serialized |
val serialized: SerializedBytes<WireTransaction> |
| signers |
val signers: List<PublicKey> |
| type |
val type: TransactionType |
| outRef |
fun <T : ContractState> outRef(index: Int): StateAndRef<T>Returns a StateAndRef for the given output index. fun <T : ContractState> outRef(state: ContractState): StateAndRef<T>Returns a StateAndRef for the requested output state, or throws IllegalArgumentException if not found. |
| toString |
fun toString(): String |
| deserialize |
fun deserialize(bits: SerializedBytes<WireTransaction>, kryo: <ERROR CLASS> = THREAD_LOCAL_KRYO.get()): WireTransaction |
| toLedgerTransaction |
fun WireTransaction.toLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransactionLooks up identities and attachments from storage to generate a LedgerTransaction. |