Interface ITransaction
A unit of business activity: a creation, cancellation, transfer, or any
other operation that may be applied to a contract. Transactions carry an
optional pointer to the contract they affect; for composite transactions
(e.g. an atomic set of operations) the pointer is null.
public interface ITransaction : IEquatable<ITransaction>
- Inherited Members
Examples
public sealed record CreateContract(ContractIdentifier Id, ContractParameters Parameters) : ITransaction
{
public IContractIdentifier? RelatedContract => Id;
}
Properties
RelatedContract
The contract this transaction targets, or null for transactions
that do not target a single contract (e.g. atomic groups).
IContractIdentifier? RelatedContract { get; }