Casper.Network.SDK
Show / Hide Table of Contents

Class Reservation

Represents a validator reserving a slot for specific delegator

Inheritance
object
Reservation
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
public class Reservation

Properties

| Edit this page View Source

DelegationRate

The delegation rate.

Declaration
[JsonPropertyName("delegation_rate")]
public uint DelegationRate { get; init; }
Property Value
Type Description
uint
| Edit this page View Source

DelegatorKind

The delegator public key or purse.

Declaration
[JsonPropertyName("delegator_kind")]
public DelegatorKind DelegatorKind { get; init; }
Property Value
Type Description
DelegatorKind
| Edit this page View Source

ValidatorPublicKey

The validator public key.

Declaration
[JsonPropertyName("validator_public_key")]
[JsonConverter(typeof(PublicKey.PublicKeyConverter))]
public PublicKey ValidatorPublicKey { get; init; }
Property Value
Type Description
PublicKey

Methods

| Edit this page View Source

ToBytes()

Declaration
public byte[] ToBytes()
Returns
Type Description
byte[]
| Edit this page View Source

ToCLValue()

Declaration
public CLValue ToCLValue()
Returns
Type Description
CLValue
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC