Skip to main content

Reference / Modules / node-api

Module: node-api

Table of contents​

References​

Namespaces​

Classes​

Interfaces​

Type Aliases​

Variables​

Functions​

References​

Lgnt​

Re-exports Lgnt


LgntFormatter​

Re-exports LgntFormatter

Type Aliases​

AccountType​

Ƭ AccountType: "Polkadot" | "Ethereum" | "Bech32"

Defined in​

Types.ts:161


ChainType​

Ƭ ChainType: "Solo" | "Para"

Defined in​

Connection.ts:19


IdentityLocType​

Ƭ IdentityLocType: "Polkadot" | "Logion"

Defined in​

Types.ts:77


LocType​

Ƭ LocType: "Transaction" | "Collection" | "Identity"

Defined in​

Types.ts:75


Region​

Ƭ Region: LogionRuntimeRegion["type"]

Defined in​

Types.ts:437

Variables​

ARTIFICIAL_MAX_BALANCE​

• Const ARTIFICIAL_MAX_BALANCE: PrefixedNumber

Defined in​

Queries.ts:34


ETHEREUM_ADDRESS_LENGTH_IN_BITS​

• Const ETHEREUM_ADDRESS_LENGTH_IN_BITS: number

Defined in​

Types.ts:164


EXPECTED_PARA_VERSION​

• Const EXPECTED_PARA_VERSION: 3000n

Defined in​

Connection.ts:25


EXPECTED_SOLO_VERSION​

• Const EXPECTED_SOLO_VERSION: 164n

Defined in​

Connection.ts:23


EXPECTED_SPEC_NAME​

• Const EXPECTED_SPEC_NAME: "logion"

Defined in​

Connection.ts:21


SS58_PREFIX​

• Const SS58_PREFIX: 2021

Defined in​

Types.ts:171

Functions​

buildApiClass​

▸ buildApiClass(endpoint): Promise<LogionNodeApiClass>

Builds a connected interface to the Logion chain.

Parameters​

NameTypeDescription
endpointstring | string[]the URL(s) of the RPCs to connect to

Returns​

Promise<LogionNodeApiClass>

A connected Logion chain client

Deprecated

Use LogionNodeApiClass.connect(endpoint) instead

Defined in​

Connection.ts:142


isLogionDataLoc​

▸ isLogionDataLoc(loc): boolean

Parameters​

NameType
locLegalOfficerCase

Returns​

boolean

Defined in​

Types.ts:118


isLogionIdentityLoc​

▸ isLogionIdentityLoc(loc): boolean

Parameters​

NameType
locLegalOfficerCase

Returns​

boolean

Defined in​

Types.ts:114


toDecimalString​

▸ toDecimalString(value): string

Parameters​

NameType
valuestring

Returns​

string

Defined in​

UUID.ts:67