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:16

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

Returns: number


Methods

toHex

▸ toHex(): string

Implementation of Codec.toHex

Inherited from Null.toHex

Defined in Null.ts:23

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:30

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:37

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:45

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