Show / Hide Table of Contents

Delegate AccountStateGetter

An delegate to provide read-only view of account states.

Gets states associated with the specified account addresses.

If some states associated with the specified account addresses have never been set these absent states are represented as null.

Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public delegate IReadOnlyList<IValue> AccountStateGetter(IReadOnlyList<Address> addresses);
Parameters
Type Name Description
IReadOnlyList<Address> addresses

Account addresses associated with the states to get.

Returns
Type Description
IReadOnlyList<Bencodex.Types.IValue>

The states associated to the specified account addresses. Associated values are ordered in the same way to the corresponding addresses. Absent states are represented as null.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium