Class TransactionV1Payload
The payload portion of a TransactionV1.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
[JsonConverter(typeof(TransactionV1Payload.TransactionV1PayloadConverter))]
public class TransactionV1Payload
Constructors
| Edit this page View SourceTransactionV1Payload()
Declaration
public TransactionV1Payload()
Properties
| Edit this page View SourceChainName
Name of the chain where the deploy is executed.
Declaration
[JsonPropertyName("chain_name")]
public string ChainName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EntryPoint
Entry point or method of the contract to call.
Declaration
[JsonIgnore]
public ITransactionV1EntryPoint EntryPoint { get; init; }
Property Value
| Type | Description |
|---|---|
| ITransactionV1EntryPoint |
InitiatorAddr
The address of the initiator of a transaction.
Declaration
[JsonPropertyName("initiator_addr")]
public InitiatorAddr InitiatorAddr { get; set; }
Property Value
| Type | Description |
|---|---|
| InitiatorAddr |
PricingMode
Pricing mode of a Transaction.
Declaration
[JsonPropertyName("pricing_mode")]
[JsonConverter(typeof(PricingMode.PricingModeConverter))]
public IPricingMode PricingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| IPricingMode |
RuntimeArgs
List of runtime arguments.
Declaration
[JsonIgnore]
public List<NamedArg> RuntimeArgs { get; init; }
Property Value
| Type | Description |
|---|---|
| List<NamedArg> |
Scheduling
Scheduling of the transaction.
Declaration
[JsonIgnore]
public ITransactionV1Scheduling Scheduling { get; init; }
Property Value
| Type | Description |
|---|---|
| ITransactionV1Scheduling |
Target
Target contract of the transaction (native, custom or session).
Declaration
[JsonIgnore]
public ITransactionV1Target Target { get; init; }
Property Value
| Type | Description |
|---|---|
| ITransactionV1Target |
Timestamp
Timestamp formatted as per RFC 3339
Declaration
[JsonPropertyName("timestamp")]
[JsonConverter(typeof(DateTime2EpochConverter))]
public ulong Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
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 SourceToBytes()
Declaration
public byte[] ToBytes()
Returns
| Type | Description |
|---|---|
| byte[] |