Casper.Network.SDK
Show / Hide Table of Contents

Class GetAccountInfo

Inheritance
object
RpcMethod
GetAccountInfo
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetAccountInfo : RpcMethod

Constructors

| Edit this page View Source

GetAccountInfo(AccountHashKey, string)

Returns the information of an Account in the network.

Declaration
public GetAccountInfo(AccountHashKey accountHash, string blockHash = null)
Parameters
Type Name Description
AccountHashKey accountHash

The account hash of the account.

string blockHash

A block hash for which the information of the account is queried. Null for most recent information.

| Edit this page View Source

GetAccountInfo(AccountHashKey, ulong)

Returns the information of an Account in the network.

Declaration
public GetAccountInfo(AccountHashKey accountHash, ulong height)
Parameters
Type Name Description
AccountHashKey accountHash

The account hash of the account.

ulong height

A block height for which the information of the account is queried.

| Edit this page View Source

GetAccountInfo(PublicKey, string)

Returns the information of an Account in the network.

Declaration
public GetAccountInfo(PublicKey publicKey, string blockHash = null)
Parameters
Type Name Description
PublicKey publicKey

The public key of the account.

string blockHash

A block hash for which the information of the account is queried. Null for most recent information.

| Edit this page View Source

GetAccountInfo(PublicKey, ulong)

Returns the information of an Account in the network.

Declaration
public GetAccountInfo(PublicKey publicKey, ulong height)
Parameters
Type Name Description
PublicKey publicKey

The public key of the account.

ulong height

A block height for which the information of the account is queried.

| Edit this page View Source

GetAccountInfo(string, string)

Returns the information of an Account in the network.

Declaration
[Obsolete("For Casper node v1.5.5 or newer use the new method signature with PublicKey or AccountHashKey, ", false)]
public GetAccountInfo(string publicKey, string blockHash = null)
Parameters
Type Name Description
string publicKey

The public key of the account.

string blockHash

A block hash for which the information of the account is queried. Null for most recent information.

| Edit this page View Source

GetAccountInfo(string, ulong)

Returns the information of an Account in the network.

Declaration
[Obsolete("For Casper node v1.5.5 or newer use the new method signature with PublicKey or AccountHashKey", false)]
public GetAccountInfo(string publicKey, ulong height)
Parameters
Type Name Description
string publicKey

The public key of the account.

ulong height

A block height for which the information of the account is queried.

  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC