Delegate StateGetter<T>
An intermediary delegate for AccountStateGetter.
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public delegate IValue? StateGetter<T>(Address address, BlockHash? hashDigest, StateCompleter<T> stateCompleter)
where T : IAction, new();
Parameters
Type | Name | Description |
---|---|---|
Address | address | The address of an account to read the state from. |
Nullable<BlockHash> | hashDigest | The address of a block to read the state from. |
StateCompleter<T> | stateCompleter | The StateCompleter<T> to use. |
Returns
Type | Description |
---|---|
Nullable<IValue> | The account state if exists. Otherwise |
Type Parameters
Name | Description |
---|---|
T | An IAction type. It should match to BlockChain<T>'s type parameter. |