Module

x/polkadot/mod.ts>api.SubmittableResult

Package publishing for deno.land/x/polkadot
Go to Latest
class api.SubmittableResult
implements ISubmittableResult
import { api } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { SubmittableResult } = api;

Constructors

new
SubmittableResult(unnamed 0: SubmittableResultValue)

Properties

readonly
optional
blockNumber: BlockNumber | undefined
readonly
optional
dispatchError: DispatchError | undefined
readonly
optional
dispatchInfo: DispatchInfo | undefined
readonly
events: EventRecord[]
readonly
optional
internalError: Error | undefined
readonly
isCompleted: boolean
readonly
isError: boolean
readonly
isFinalized: boolean
readonly
isInBlock: boolean
readonly
isWarning: boolean
readonly
status: ExtrinsicStatus
readonly
txHash: Hash
readonly
optional
txIndex: number | undefined

Methods

filterRecords(section: string, method: string | string[]): EventRecord[]
findRecord(section: string, method: string | string[]): EventRecord | undefined
toHuman(isExtended?: boolean): AnyJson