Casper.Network.SDK
Show / Hide Table of Contents

Class InitiatorAddr

The address of the initiator of a TransactionV1

Inheritance
object
InitiatorAddr
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class InitiatorAddr

Constructors

| Edit this page View Source

InitiatorAddr()

Declaration
public InitiatorAddr()
| Edit this page View Source

InitiatorAddr(AccountHashKey)

Declaration
public InitiatorAddr(AccountHashKey accountHash)
Parameters
Type Name Description
AccountHashKey accountHash
| Edit this page View Source

InitiatorAddr(PublicKey)

Declaration
public InitiatorAddr(PublicKey publicKey)
Parameters
Type Name Description
PublicKey publicKey

Properties

| Edit this page View Source

AccountHash

The account hash derived from the public key of the initiator

Declaration
[JsonPropertyName("AccountHash")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(GlobalStateKey.GlobalStateKeyConverter))]
public AccountHashKey AccountHash { get; init; }
Property Value
Type Description
AccountHashKey
| Edit this page View Source

PublicKey

The public key of the initiator

Declaration
[JsonPropertyName("PublicKey")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(PublicKey.PublicKeyConverter))]
public PublicKey PublicKey { get; init; }
Property Value
Type Description
PublicKey

Methods

| Edit this page View Source

FromAccountHash(AccountHashKey)

Declaration
public static InitiatorAddr FromAccountHash(AccountHashKey accountHashKey)
Parameters
Type Name Description
AccountHashKey accountHashKey
Returns
Type Description
InitiatorAddr
| Edit this page View Source

FromPublicKey(PublicKey)

Declaration
public static InitiatorAddr FromPublicKey(PublicKey publicKey)
Parameters
Type Name Description
PublicKey publicKey
Returns
Type Description
InitiatorAddr
| Edit this page View Source

ToBytes()

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

ToHexString()

Declaration
public string ToHexString()
Returns
Type Description
string
| Edit this page View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC