submeta

Crates.iosubmeta
lib.rssubmeta
version0.1.0
sourcesrc
created_at2023-01-28 01:09:40.845584
updated_at2023-01-28 01:09:40.845584
descriptionDecode Substrate metadata from stdin
homepage
repository
max_upload_size
id770054
size19,301
Oliver Tale-Yazdi (ggwpez)

documentation

README

SubMeta

Minimal CLI to extract information from encoded V14 metadata.

Usage

For example show all Polkadot pallets with their storage items, you need jq installed:

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "state_getMetadata"}' https://rpc.polkadot.io:443 |\
jq '.result' -r |\
cargo run -- pallets --with-storage
Commit count: 0

cargo fmt