UNPKG

@substrate/api-sidecar

Version:

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

13 lines (12 loc) 546 B
import { ApiPromise } from '@polkadot/api'; import type { BlockHash } from '@polkadot/types/interfaces'; import { ITransactionDryRun } from '../../types/responses'; import { AbstractService } from '../AbstractService'; export type SignedOriginCaller = { System: { Signed: string; }; }; export declare class TransactionDryRunService extends AbstractService { dryRuntExtrinsic(api: ApiPromise, senderAddress: string, transaction: `0x${string}`, hash?: BlockHash, xcmVersion?: number | undefined): Promise<ITransactionDryRun>; }