UNPKG

624 BTypeScriptView Raw
1import type { CodecClass } from '@polkadot/types/types';
2import type { ApiBase } from '../base/index.js';
3import type { ApiInterfaceRx, ApiTypes } from '../types/index.js';
4import type { SubmittableExtrinsic } from './types.js';
5interface SubmittableOptions<ApiType extends ApiTypes> {
6 api: ApiInterfaceRx;
7 apiType: ApiTypes;
8 blockHash?: Uint8Array | undefined;
9 decorateMethod: ApiBase<ApiType>['_decorateMethod'];
10}
11export declare function createClass<ApiType extends ApiTypes>({ api, apiType, blockHash, decorateMethod }: SubmittableOptions<ApiType>): CodecClass<SubmittableExtrinsic<ApiType>>;
12export {};