Class DeployHeader
Header information of a Deploy.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class DeployHeader
Constructors
| Edit this page View SourceDeployHeader()
Declaration
public DeployHeader()
Properties
| Edit this page View SourceAccount
Public Key from the Account owning the Deploy.
Declaration
[JsonPropertyName("account")]
[JsonConverter(typeof(PublicKey.PublicKeyConverter))]
public PublicKey Account { get; set; }
Property Value
| Type | Description |
|---|---|
| PublicKey |
BodyHash
Hash of the body part of this Deploy.
Declaration
[JsonPropertyName("body_hash")]
public string BodyHash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChainName
Name of the chain where the deploy is executed.
Declaration
[JsonPropertyName("chain_name")]
public string ChainName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Dependencies
List of Deploy hashes.
Declaration
[JsonPropertyName("dependencies")]
public List<string> Dependencies { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
GasPrice
Gas price
Declaration
[JsonPropertyName("gas_price")]
public ulong GasPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
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 |