Show / Hide Table of Contents

Delegate AccountBalanceGetter

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

Gets address' balance of the given currency.

Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public delegate FungibleAssetValue AccountBalanceGetter(Address address, Currency currency);
Parameters
Type Name Description
Address address

An address of the account to query its balance of the currency.

Currency currency

The currency type to query address' balance.

Returns
Type Description
FungibleAssetValue

The address's balance of the currency.

  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium