1 unstable release
0.1.0 | Jan 28, 2023 |
---|
#18 in #pallets
7KB
80 lines
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
Dependencies
~3.5MB
~65K SLoC