Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alethio/explorer-plugin-eth-memento

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alethio/explorer-plugin-eth-memento

Alethio Explorer core plugin that fetches data via Memento

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
5
Weekly downloads
 
Created
Source

@alethio/explorer-plugin-eth-memento

Alethio Explorer plugin that fetches data from Memento. Mainly 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. The example contains only the account page with the usage of the only module exported by this plugin.

Exported entities

Pages

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

Context

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

Modules

Module URIContext shapeModule slotsDescriptionImplementation
module://aleth.io/memento/block/basic{ blockNumber }confirmationsBlock basic data fieldsblockBasicModule
module://aleth.io/memento/block/txs{ blockNumber }N/ATransactions in given block, in two visualizations (grid and heat map)blockTxsModule
module://aleth.io/memento/block/advanced{ blockNumber }extraDataBlock advanced data fieldsblockAdvancedModule
module://aleth.io/memento/block/logs-bloom{ blockNumber }N/ABlock logs bloomblockLogsBloomModule
module://aleth.io/memento/uncle/details{ uncleHash }N/AUncle data fieldsuncleDetailsModule
module://aleth.io/memento/tx/basic{ txHash }blockConfirmationsTransaction basic data fieldstxBasicModule
module://aleth.io/memento/tx/advanced{ txHash }N/ATransaction advanced data fieldstxAdvancedModule
module://aleth.io/memento/tx/summary{ txHash }N/AAccordion with log eventstxSummaryModule
module://aleth.io/memento/tx/payload"{ txHash }N/ADecoded tx payloadtxPayloadModule
module://aleth.io/memento/account/txs{ accountHash }N/AAccordion with transactionsaccountTxsModule
module://aleth.io/memento/account/details{ accountHash }N/ABasic account dataaccountDetailsModule
module://aleth.io/memento/account/contract{ accountHash }N/AContract data (creation code etc.)accountContractModule

Data Adapters

Adapter URIContext shapeReturn typeDescriptionImplementation
adapter://aleth.io/block/basic{ blockNumber }IBlockBasicInfoAdapter for basic block dataBlockBasicInfoAdapter
adapter://aleth.io/full/block/details{ blockNumber }IBlockDetailsProvides detailed block data specific to the full explorerBlockDetailsAdapter
adapter://aleth.io/full/uncle/details{ uncleHash }IUncleDetailsUncle data fieldsUncleDetailsAdapter
adapter://aleth.io/prices/latest{ blockNumber }undefinedThe price of ETH in USD at the latest block or undefined if disabled by configurationNullEthPriceAdapter
adapter://aleth.io/memento/tx/details{ txHash }ITxDetailsTransaction data fieldsTxDetailsAdapter
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-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/account/details{ accountHash }IAccountDetailsBasic account dataAccountDetailsAdapter
adapter://aleth.io/lite/account/balance{ accountHash }BigNumberTotal account balance in ETHAccountBalanceAdapter

FAQs

Package last updated on 07 Feb 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc