Casper.Network.SDK
Show / Hide Table of Contents

Class TransactionV1Payload

The payload portion of a TransactionV1.

Inheritance
object
TransactionV1Payload
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
[JsonConverter(typeof(TransactionV1Payload.TransactionV1PayloadConverter))]
public class TransactionV1Payload

Constructors

| Edit this page View Source

TransactionV1Payload()

Declaration
public TransactionV1Payload()

Properties

| Edit this page View Source

ChainName

Name of the chain where the deploy is executed.

Declaration
[JsonPropertyName("chain_name")]
public string ChainName { get; set; }
Property Value
Type Description
string
| Edit this page View Source

EntryPoint

Entry point or method of the contract to call.

Declaration
[JsonIgnore]
public ITransactionV1EntryPoint EntryPoint { get; init; }
Property Value
Type Description
ITransactionV1EntryPoint
| Edit this page View Source

InitiatorAddr

The address of the initiator of a transaction.

Declaration
[JsonPropertyName("initiator_addr")]
public InitiatorAddr InitiatorAddr { get; set; }
Property Value
Type Description
InitiatorAddr
| Edit this page View Source

PricingMode

Pricing mode of a Transaction.

Declaration
[JsonPropertyName("pricing_mode")]
[JsonConverter(typeof(PricingMode.PricingModeConverter))]
public IPricingMode PricingMode { get; set; }
Property Value
Type Description
IPricingMode
| Edit this page View Source

RuntimeArgs

List of runtime arguments.

Declaration
[JsonIgnore]
public List<NamedArg> RuntimeArgs { get; init; }
Property Value
Type Description
List<NamedArg>
| Edit this page View Source

Scheduling

Scheduling of the transaction.

Declaration
[JsonIgnore]
public ITransactionV1Scheduling Scheduling { get; init; }
Property Value
Type Description
ITransactionV1Scheduling
| Edit this page View Source

Target

Target contract of the transaction (native, custom or session).

Declaration
[JsonIgnore]
public ITransactionV1Target Target { get; init; }
Property Value
Type Description
ITransactionV1Target
| Edit this page View Source

Timestamp

Timestamp formatted as per RFC 3339

Declaration
[JsonPropertyName("timestamp")]
[JsonConverter(typeof(DateTime2EpochConverter))]
public ulong Timestamp { get; set; }
Property Value
Type Description
ulong
| Edit this page View Source

Ttl

Duration of the Deploy in milliseconds (from timestamp).

Declaration
[JsonPropertyName("ttl")]
[JsonConverter(typeof(HumanizeTTLConverter))]
public ulong Ttl { get; set; }
Property Value
Type Description
ulong

Methods

| Edit this page View Source

ToBytes()

Declaration
public byte[] ToBytes()
Returns
Type Description
byte[]
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC