@polkadot/types
Version:
Implementation of the Parity codec
31 lines (30 loc) • 846 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.runtime = void 0;
exports.runtime = {
DifficultyApi: [
{
methods: {
difficulty: {
description: 'Return the target difficulty of the next block.',
params: [],
// This is Difficulty in the original, however this is chain-specific
type: 'Raw'
}
},
version: 1
}
],
TimestampApi: [
{
methods: {
timestamp: {
description: 'API necessary for timestamp-based difficulty adjustment algorithms.',
params: [],
type: 'Moment'
}
},
version: 1
}
]
};
;