@polkadot/jsonrpc
Version:
Method definitions for the Polkadot RPC layer
9 lines (8 loc) • 300 B
TypeScript
import { InterfaceTypes } from '@polkadot/types/types';
import { RpcParam } from '../types';
interface RpcParamOptions {
isOptional?: boolean;
}
/** @internal */
export default function createParam(name: string, type: keyof InterfaceTypes, { isOptional }?: RpcParamOptions): RpcParam;
export {};