Socket
Socket
Sign inDemoInstall

@alethio/explorer-plugin-eth-lite

Package Overview
Dependencies
0
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @alethio/explorer-plugin-eth-lite

Alethio Explorer core plugin that fetches data via Web3, directly from an ETH node


Version published
Weekly downloads
0
decreased by-100%
Maintainers
6
Install size
14.5 MB
Created
Weekly downloads
 

Readme

Source

@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

FAQs

Last updated on 29 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc