Expose txHash on submittable results (#4387)

* Expose txHash on submittable results

* CHANGELOG

* CHANGELOG
This commit is contained in:
Jaco
2021-12-24 09:08:56 +02:00
committed by GitHub
parent 938eb7d390
commit 9800a3b55d
6 changed files with 29 additions and 14 deletions
+2 -1
View File
@@ -5,7 +5,7 @@ import type { AnyJson, AnyNumber, AnyTuple, AnyU8a, Codec } from '@polkadot/type
import type { HexString } from '@polkadot/util/types';
import type { ExtrinsicStatus } from '../interfaces/author';
import type { EcdsaSignature, Ed25519Signature, Sr25519Signature } from '../interfaces/extrinsics';
import type { Address, Balance, Call, H256, Index } from '../interfaces/runtime';
import type { Address, Balance, Call, H256, Hash, Index } from '../interfaces/runtime';
import type { DispatchError, DispatchInfo, EventRecord } from '../interfaces/system';
import type { ICompact, IKeyringPair, IMethod, IRuntimeVersion } from './interfaces';
import type { Registry } from './registry';
@@ -21,6 +21,7 @@ export interface ISubmittableResult {
readonly isFinalized: boolean;
readonly isInBlock: boolean;
readonly isWarning: boolean;
readonly txHash: Hash;
filterRecords (section: string, method: string): EventRecord[];
findRecord (section: string, method: string): EventRecord | undefined;