Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.84 KB

indexer-design.md

File metadata and controls

59 lines (47 loc) · 1.84 KB

Indexer Design

Relayer Part

use jsonrpsee framework, and it's organized by method name. we will rewrite all rpc api that subx contains.

State API

  • state_call
  • state_getKeys(duplicated)
  • state_getPairs
  • state_getKeysPaged
  • state_getStorage
  • state_getStorageHash
  • state_getStorageSize
  • state_getMetadata
  • state_getRuntimeVersion
  • state_queryStorage
  • state_queryStorageAt
  • state_getReadProof(block by upstream compiling)
  • state_subscribeStorage
  • state_subscribeRuntimeVersion
  • state_traceBlock

System API

  • system_name
  • system_version
  • system_chain
  • system_chainType(block by upstream compiling)
  • system_properties(block by upstream compiling)
  • system_health
  • system_localPeerId
  • system_localListenAddresses
  • system_peers(block by upstream compiling)
  • system_unstable_networkState

Chain API

  • chain_getHeader
  • chain_getBlock(block by upstream compiling)
  • chain_getBlockHash
  • chain_getFinalizedHead
  • chain_subscribeAllHeads
  • chain_subscribeNewHeads
  • chain_subscribeFinalizedHeads

Author API

  • author_submitExtrinsic
  • author_pendingExtrinsics
  • author_removeExtrinsic(block by upstream compiling)
  • author_submitAndWatchExtrinsic(block by upstream compiling)

Indexer Part

Take a look at this notion page: Manta-Indexer-Design