Casper.Network.SDK
Show / Hide Table of Contents

Class GetBalance

Inheritance
System.Object
RpcMethod
GetBalance
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 GetBalance : RpcMethod

Constructors

GetBalance(AccountHashKey, StateIdentifier)

Declaration
public GetBalance(AccountHashKey key, StateIdentifier stateIdentifier)
Parameters
Type Name Description
AccountHashKey key
StateIdentifier stateIdentifier

GetBalance(PublicKey, StateIdentifier)

Declaration
public GetBalance(PublicKey key, StateIdentifier stateIdentifier)
Parameters
Type Name Description
PublicKey key
StateIdentifier stateIdentifier

GetBalance(URef, StateIdentifier)

Declaration
public GetBalance(URef uref, StateIdentifier stateIdentifier)
Parameters
Type Name Description
URef uref
StateIdentifier stateIdentifier

GetBalance(String, String)

Returns a purse's balance from the network.

Declaration
public GetBalance(string purseURef, string stateRootHash)
Parameters
Type Name Description
System.String purseURef

Purse URef formatted as a string.

System.String stateRootHash

Hash of the state root.

In This Article
Back to top Maintained by MAKE Technology LLC