4.2.0 • Published 4 years ago

@alethio/explorer-plugin-eth-lite v4.2.0

Weekly downloads
69
License
MIT
Repository
github
Last release
4 years ago

@alethio/explorer-plugin-eth-lite

Alethio Explorer plugin that fetches data via Web3, directly from an ETH node. Used by ethereum-lite-explorer. Works together with the @alethio/explorer-plugin-eth-common core plugin.

See cms-plugin-tool for install instructions.

Configuration

The structure of the config object is described here.

See config.sample.json for an example.

Refer to pages.sample.json for a pages structure example.

Exported entities

Pages

Page URICreated context shapeModule slotsDescriptionImplementation
page://aleth.io/dashboard{}contentMain dashboard pagedashboardPage
page://aleth.io/uncle{ blockNumber, uncleIndex }contentUncle details pageunclePage

Context

Context URIGenerated context shapePlaced in contextDescriptionImplementation
context://aleth.io/lite/tx/parentBlock{ txHash, blockNumber }{ txHash }Adds the parent block to the current TX contexttxParentBlockContext

Modules

Module URIContext shapeModule slotsDescriptionImplementation
module://aleth.io/lite/block/details{ blockNumber }confirmations, txs, extraData }Block data fieldsblockDetailsModule
module://aleth.io/lite/block/txs{ blockNumber }N/ATransactions in given block, in two visualizations (grid and heat map)blockTxsModule
module://aleth.io/lite/uncle/details{ blockNumber, uncleIndex }N/AUncle data fieldsuncleDetailsModule
module://aleth.io/lite/tx/details{ txHash }blockConfirmationsTransaction data fieldstxDetailsModule
module://aleth.io/lite/account/details{ accountHash }N/ABasic account dataaccountDetailsModule
module://aleth.io/lite/account/contract{ accountHash }N/AContract data (creation code etc.)accountContractModule

Data Adapters

Adapter URIContext shapeReturn typeDescriptionImplementation
adapter://aleth.io/search/v2{}ISearchReturns a search providerSearchAdapter
adapter://aleth.io/block/latestNo{}numberReturns the latest block number on the chainLatestBlockNumberAdapter
adapter://aleth.io/block/basic{ blockNumber }IBlockBasicInfoAdapter for basic block dataBlockBasicInfoAdapter
adapter://aleth.io/lite/block/details{ blockNumber }IBlockDetailsProvides detailed block data specific to lite explorerBlockDetailsAdapter
adapter://aleth.io/block-range/summary{ rangeStart, rangeEnd, blockNumber }Array<IBlockTxCount | undefined>TX counts per block for a range of blocksBlockListAdapter
adapter://aleth.io/block/confirmations{ blockNumber }IBlockConfirmationsInfo about number of confirmations for a given blockBlockConfirmationsAdapter
adapter://aleth.io/lite/uncle/details{ blockNumber, uncleIndex }IUncleDetailsUncle data fieldsUncleDetailsAdapter
adapter://aleth.io/lite/tx/details{ txHash }ITxDetailsTransaction data fieldsTxDetailsAdapter
adapter://aleth.io/lite/tx/receipt{ txHash }ITxReceiptTx receipt dataTxReceiptAdapter
adapter://aleth.io/lite/account/details{ accountHash }IAccountDetailsBasic account dataAccountDetailsAdapter
adapter://aleth.io/lite/account/balance{ accountHash }BigNumberTotal account balance in ETHAccountBalanceAdapter
4.2.0

4 years ago

4.1.1

4 years ago

4.1.0

4 years ago

4.0.0

4 years ago

3.0.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.3

5 years ago