Crates.io | submeta |
lib.rs | submeta |
version | 0.1.0 |
source | src |
created_at | 2023-01-28 01:09:40.845584 |
updated_at | 2023-01-28 01:09:40.845584 |
description | Decode Substrate metadata from stdin |
homepage | |
repository | |
max_upload_size | |
id | 770054 |
size | 19,301 |
Minimal CLI to extract information from encoded V14 metadata.
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