Skip to content

@gala-chain/apiAPI


API > RangedChainObject

Class: abstract RangedChainObject

Contents

Extended By

Constructors

new RangedChainObject()

new RangedChainObject(): RangedChainObject

Methods

getRangedKey()

getRangedKey(): string

Source

chain-api/src/types/RangedChainObject.ts:57


serialize()

serialize(): string

Source

chain-api/src/types/RangedChainObject.ts:30


toPlainObject()

toPlainObject(): Record\<string, unknown>

Source

chain-api/src/types/RangedChainObject.ts:46


validate()

validate(): Promise\<ValidationError[]>

Source

chain-api/src/types/RangedChainObject.ts:34


validateOrReject()

validateOrReject(): Promise\<void>

Source

chain-api/src/types/RangedChainObject.ts:38


deserialize()

static deserialize\<T>(constructor, object): T

Type parameters

T

Parameters

constructor: ClassConstructor\<Inferred\<T, RangedChainObject>>

object: string | Record\<string, unknown> | Record\<string, unknown>[]

Source

chain-api/src/types/RangedChainObject.ts:50


getRangedKeyFromParts()

static getRangedKeyFromParts(indexKey, parts): string

Parameters

indexKey: string

parts: unknown[]

Source

chain-api/src/types/RangedChainObject.ts:80


getStringKeyFromParts()

static getStringKeyFromParts(parts): string

Parameters

parts: string[]

Source

chain-api/src/types/RangedChainObject.ts:97