Class QueryBalance
Inherited Members
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class QueryBalance : RpcMethod
Constructors
| Edit this page View SourceQueryBalance(IPurseIdentifier, StateIdentifier)
Query for balance information using a purse identifier and a state identifier
Declaration
public QueryBalance(IPurseIdentifier purseIdentifier, StateIdentifier stateIdentifier = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPurseIdentifier | purseIdentifier | The identifier to obtain the purse corresponding to balance query. |
| StateIdentifier | stateIdentifier | The identifier for the state used for the query, if none is passed, the latest block will be used. |