// Copyright 2017-2021 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Call } from '../interfaces/runtime'; import type { AnyTuple } from './codec'; import type { IMethod } from './interfaces'; export interface CallBase extends IMethod { readonly method: string; readonly section: string; toJSON: () => any; } export interface CallFunction extends CallBase { (...args: any[]): Call & IMethod; }