52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
specVersion: v0.1.0
|
|
package:
|
|
name: "beacon_explorer"
|
|
image: ./ethereum.png
|
|
url: "http://github.com/streamingfast/substreams-explorers/"
|
|
version: v0.1.0
|
|
|
|
imports:
|
|
beacon: https://github.com/pinax-network/firehose-beacon/releases/download/v0.1.1/beacon-v0.1.1.spkg
|
|
|
|
network: beacon
|
|
|
|
protobuf:
|
|
files:
|
|
- block_meta.proto
|
|
- blobs.proto
|
|
importPaths:
|
|
- ./proto
|
|
|
|
binaries:
|
|
default:
|
|
type: wasm/rust-v1
|
|
file: ./target/wasm32-unknown-unknown/release/substreams.wasm
|
|
|
|
modules:
|
|
- name: map_block_meta
|
|
kind: map
|
|
inputs:
|
|
- source: sf.beacon.type.v1.Block
|
|
output:
|
|
type: proto:beacon.block_meta.v1.BlockMeta
|
|
doc: |
|
|
`map_block_meta` allows you to view a basic information about a block
|
|
|
|
- name: map_block_full
|
|
kind: map
|
|
inputs:
|
|
- source: sf.beacon.type.v1.Block
|
|
output:
|
|
type: proto:sf.beacon.type.v1.Block
|
|
doc: |
|
|
`map_block_full` allows you to view a complete block, as received by a Substreams module
|
|
|
|
- name: map_blobs
|
|
kind: map
|
|
inputs:
|
|
- source: sf.beacon.type.v1.Block
|
|
output:
|
|
type: proto:beacon.blobs.v1.Blobs
|
|
doc: |
|
|
`map_blobs` allows you to view blobs inside a block
|