@polkadot/types
Version:
Implementation of the Parity codec
25 lines (24 loc) • 806 B
JavaScript
export const runtime = {
GenesisBuilder: [
{
methods: {
build_config: {
description: 'Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage.',
params: [
{
name: 'json',
type: 'Vec<u8>'
}
],
type: 'Result<(), GenesisBuildErr>'
},
create_default_config: {
description: 'Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob.',
params: [],
type: 'Vec<u8>'
}
},
version: 1
}
]
};