Class: ChainAgent

chain/etherscan.ChainAgent(cache)

Chain agent interfacing with Etherscan.

Constructor

new ChainAgent(cache)

Parameters:
Name Type Description
cache Object Set of caches.
Properties
Name Type Description
block module:cache/cache.Cache Block cache. Indexed by block number.
address module:cache/cache.Cache Address cache. Indexed by address hex.
tx module:cache/cache.Cache Transaction cache. Indexed by transaction hash.
Source:

Methods

(async) listAccountTransactions() → {Array.<module:primitives/transaction.Transaction>}

Get list of account transactions.
Source:
See:
Returns:
List of account transactions.
Type
Array.<module:primitives/transaction.Transaction>