Class GetAccountInfo
Inherited Members
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetAccountInfo : RpcMethod
Constructors
| Edit this page View SourceGetAccountInfo(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. |
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. |
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. |
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. |
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. |
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. |