name: ExtrinsicStatus

description: An EnumType that indicates the status of the Extrinsic as been submitted

Hierarchy

↳ EnumType<Future | Ready | Finalised | Usurped | Broadcast | Dropped | Invalid>

↳ ExtrinsicStatus

Implements

Constructors

constructor

⊕ new ExtrinsicStatus(value: any, index?: undefined | number): ExtrinsicStatus

Overrides EnumType.constructor

Defined in ExtrinsicStatus.ts:72

Parameters:

Name Type
value any
Optional index undefined number

Returns: ExtrinsicStatus


Accessors

asBroadcast

getasBroadcast(): Broadcast

Defined in ExtrinsicStatus.ts:88

description: Returns the item as a Broadcast

Returns: Broadcast


asDropped

getasDropped(): Dropped

Defined in ExtrinsicStatus.ts:95

description: Returns the item as a Dropped

Returns: Dropped


asFinalised

getasFinalised(): Finalised

Defined in ExtrinsicStatus.ts:102

description: Returns the item as a Finalised

Returns: Finalised


asFuture

getasFuture(): Future

Defined in ExtrinsicStatus.ts:109

description: Returns the item as a Future

Returns: Future


asInvalid

getasInvalid(): Invalid

Defined in ExtrinsicStatus.ts:116

description: Returns the item as a Invalid

Returns: Invalid


asReady

getasReady(): Ready

Defined in ExtrinsicStatus.ts:123

description: Returns the item as a Ready

Returns: Ready


asUsurped

getasUsurped(): Usurped

Defined in ExtrinsicStatus.ts:130

description: Returns the item as a Usurped

Returns: Usurped


encodedLength

getencodedLength(): number

Inherited from EnumType.encodedLength

Defined in codec/EnumType.ts:101

description: The length of the value when encoded as a Uint8Array

Returns: number


index

getindex(): number

Inherited from EnumType.index

Defined in codec/EnumType.ts:108

description: The index of the metadata value

Returns: number


isNone

getisNone(): boolean

Inherited from EnumType.isNone

Defined in codec/EnumType.ts:115

description: Checks if the Enum points to a Null type

Returns: boolean


isNull

getisNull(): boolean

Inherited from EnumType.isNull

Defined in codec/EnumType.ts:122

description: Checks if the Enum points to a Null type (deprecated, use isNone)

Returns: boolean


type

gettype(): string

Inherited from EnumType.type

Defined in codec/EnumType.ts:129

description: The name of the type this enum value represents

Returns: string


value

getvalue(): Codec

Inherited from EnumType.value

Defined in codec/EnumType.ts:136

description: The value of the enum

Returns: Codec


Methods

eq

▸ eq(other?: any): boolean

Implementation of Codec.eq

Inherited from EnumType.eq

Defined in codec/EnumType.ts:143

description: Compares the value of the input to see if there is a match

Parameters:

Name Type
Optional other any

Returns: boolean


toHex

▸ toHex(): string

Implementation of Codec.toHex

Inherited from EnumType.toHex

Defined in codec/EnumType.ts:156

description: Returns a hex string representation of the value

Returns: string


toJSON

▸ toJSON(): any

Implementation of Codec.toJSON

Inherited from EnumType.toJSON

Defined in codec/EnumType.ts:163

description: Converts the Object to JSON, typically used for RPC transfers

Returns: any


toNumber

▸ toNumber(): number

Inherited from EnumType.toNumber

Defined in codec/EnumType.ts:172

description: Returns the number representation for the value

Returns: number


toString

▸ toString(): string

Implementation of Codec.toString

Inherited from EnumType.toString

Defined in codec/EnumType.ts:179

description: Returns the string representation of the value

Returns: string


toU8a

▸ toU8a(isBare?: undefined | false | true): Uint8Array

Implementation of Codec.toU8a

Inherited from EnumType.toU8a

Defined in codec/EnumType.ts:187

description: Encodes the value as a Uint8Array as per the parity-codec specifications

Parameters:

Name Type Description
Optional isBare undefined false true true when the value has none of the type-specific prefixes (internal)

Returns: Uint8Array


results matching ""

    No results matching ""