Skip to content

extrinsicSuccessful

extrinsicSuccessful(extrinsicResult): boolean

Checks if there is SystemEvent.ExtrinsicSuccess in the list of transaction events within the given extrinsicResult.

Parameters

extrinsicResult: ISubmittableResult

The result of a submission.

Returns

boolean

Whether the extrinsic submission succeeded.

Source

network/src/errorhandling/ErrorHandler.ts:34