Class Transaction.CancelContract
Cancel an existing contract.
public sealed record Transaction.CancelContract : Transaction, ITransaction, IEquatable<ITransaction>, IEquatable<Transaction>, IEquatable<Transaction.CancelContract>
- Inheritance
-
Transaction.CancelContract
- Implements
- Inherited Members
Constructors
CancelContract(ContractIdentifier)
Construct a cancel-contract transaction.
public CancelContract(ContractIdentifier id)
Parameters
Properties
Id
The contract to cancel.
public ContractIdentifier Id { get; }
Property Value
RelatedContract
The contract this transaction targets, or null for transactions
that do not target a single contract (e.g. atomic groups).
public override IContractIdentifier? RelatedContract { get; }