polkadot-js/api

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

Summary

Maintainability
A
1 hr
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 = {
  StakingApi: [
    {
      methods: {
        nominations_quota: {
          description: 'Returns the nominations quota for a nominator with a given balance.',
          params: [
            {
              name: 'balance',
              type: 'Balance'
            }
          ],
          type: 'u32'
        }
      },
      version: 1
    }
  ]
};