1 | import type { Call } from '@polkadot/types/interfaces';
|
2 | import type { Registry } from '@polkadot/types-codec/types';
|
3 | import type { ApiBase } from '../base/index.js';
|
4 | import type { ApiInterfaceRx, ApiTypes } from '../types/index.js';
|
5 | import type { SubmittableExtrinsic } from './types.js';
|
6 | type Creator<ApiType extends ApiTypes> = (extrinsic: Call | Uint8Array | string) => SubmittableExtrinsic<ApiType>;
|
7 | export declare function createSubmittable<ApiType extends ApiTypes>(apiType: ApiTypes, api: ApiInterfaceRx, decorateMethod: ApiBase<ApiType>['_decorateMethod'], registry?: Registry, blockHash?: Uint8Array): Creator<ApiType>;
|
8 | export {};
|