name: Origin

description: Where Origin occurs, it should be ignored as an internal-only value, so it should never actually be constructed

Hierarchy

Null

↳ Origin

Implements

Constructors

constructor

⊕ new Origin(): Origin

Defined in Origin.ts:13

Returns: Origin


Accessors

encodedLength

getencodedLength(): number

Inherited from Null.encodedLength

Defined in Null.ts:17

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

Returns: number


Methods

eq

▸ eq(other?: any): boolean

Implementation of Codec.eq

Inherited from Null.eq

Defined in Null.ts:24

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 Null.toHex

Defined in Null.ts:31

description: Returns a hex string representation of the value

Returns: string


toJSON

▸ toJSON(): any

Implementation of Codec.toJSON

Inherited from Null.toJSON

Defined in Null.ts:38

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

Returns: any


toString

▸ toString(): string

Implementation of Codec.toString

Inherited from Null.toString

Defined in Null.ts:45

description: Returns the string representation of the value

Returns: string


toU8a

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

Implementation of Codec.toU8a

Inherited from Null.toU8a

Defined in Null.ts:53

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 ""