Class Transaction.CreateContract
Create a new contract.
public sealed record Transaction.CreateContract : Transaction, ITransaction, IEquatable<ITransaction>, IEquatable<Transaction>, IEquatable<Transaction.CreateContract>
- Inheritance
-
Transaction.CreateContract
- Implements
- Inherited Members
Constructors
CreateContract(ContractIdentifier, ContractParameters)
Construct a create-contract transaction.
public CreateContract(ContractIdentifier id, ContractParameters parameters)
Parameters
idContractIdentifierparametersContractParameters
Properties
Id
The new contract's identifier.
public ContractIdentifier Id { get; }
Property Value
Parameters
Parameters for the new contract.
public ContractParameters Parameters { 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; }