polkadot-js/api

View on GitHub
packages/types/src/interfaces/aura/runtime.ts

Summary

Maintainability
A
35 mins
Test Coverage
// Copyright 2017-2024 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { DefinitionsCall } from '../../types/index.js';

export const runtime: DefinitionsCall = {
  AuraApi: [
    {
      methods: {
        authorities: {
          description: 'Return the current set of authorities.',
          params: [],
          type: 'Vec<AuthorityId>'
        },
        slot_duration: {
          description: 'Returns the slot duration for Aura.',
          params: [],
          type: 'SlotDuration'
        }
      },
      version: 1
    }
  ]
};