Casper.Network.SDK
Show / Hide Table of Contents

Class GetAccountInfo

Inheritance
System.Object
RpcMethod
GetAccountInfo
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetAccountInfo : RpcMethod

Constructors

GetAccountInfo(AccountHashKey, Int32)

Returns the information of an Account in the network.

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

The account hash of the account.

System.Int32 height

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

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.

System.String blockHash

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

GetAccountInfo(PublicKey, Int32)

Returns the information of an Account in the network.

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

The public key of the account.

System.Int32 height

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

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.

System.String blockHash

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

GetAccountInfo(String, Int32)

Returns the information of an Account in the network.

Declaration
public GetAccountInfo(string publicKey, int height)
Parameters
Type Name Description
System.String publicKey

The public key of the account.

System.Int32 height

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

GetAccountInfo(String, String)

Returns the information of an Account in the network.

Declaration
public GetAccountInfo(string publicKey, string blockHash = null)
Parameters
Type Name Description
System.String publicKey

The public key of the account.

System.String blockHash

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

In This Article
Back to top Maintained by MAKE Technology LLC