@polkadot/types
Version:
Implementation of the Parity codec
51 lines (50 loc) • 1.42 kB
JavaScript
export const runtime = {
AuraUnincludedSegmentApi: [
{
methods: {
can_build_upon: {
description: 'Whether it is legal to extend the chain',
params: [
{
name: 'includedHash',
type: 'BlockHash'
},
{
name: 'slot',
type: 'Slot'
}
],
type: 'bool'
}
},
version: 1
}
],
CollectCollationInfo: [
{
methods: {
collect_collation_info: {
description: 'Collect information about a collation.',
params: [
{
name: 'header',
type: 'Header'
}
],
type: 'CollationInfo'
}
},
version: 2
},
{
methods: {
collect_collation_info: {
description: 'Collect information about a collation.',
params: [],
type: 'CollationInfoV1'
}
},
version: 1
}
]
};