Reference / Modules / node-api
Module: node-api
Table of contents
References
Namespaces
Classes
- Adapters
- AnyAccountId
- Batching
- ChainTime
- Fees
- FeesEstimator
- Hash
- LocBatch
- LogionNodeApiClass
- OtherAccountId
- Queries
- UUID
- ValidAccountId
- Vault
Interfaces
- AccountId
- ApproveVaultOutTransferParameters
- CancelVaultOutTransferParameters
- Coin
- CoinBalance
- CollectionItem
- File
- FileParams
- HostData
- ItemFile
- ItemToken
- ItemTokenWithoutIssuance
- LegalOfficerCase
- LegalOfficerData
- Link
- LinkParams
- LocItemAck
- LocItemParams
- MetadataItem
- MetadataItemParams
- RequestVaultOutTransferParameters
- Sponsorship
- TermsAndConditionsElement
- TypesAccountData
- TypesErrorMetadata
- TypesEvent
- TypesJsonCall
- TypesJsonObject
- TypesRecoveryConfig
- TypesTokensRecord
- TypesTokensRecordFile
- VerifiedIssuerType
- VoidInfo
Type Aliases
Variables
- ARTIFICIAL_MAX_BALANCE
- ETHEREUM_ADDRESS_LENGTH_IN_BITS
- EXPECTED_PARA_VERSION
- EXPECTED_SOLO_VERSION
- EXPECTED_SPEC_NAME
- SS58_PREFIX
Functions
References
Lgnt
Re-exports Lgnt
LgntFormatter
Re-exports LgntFormatter
Type Aliases
AccountType
Ƭ AccountType: "Polkadot" | "Ethereum" | "Bech32"
Defined in
ChainType
Ƭ ChainType: "Solo" | "Para"
Defined in
IdentityLocType
Ƭ IdentityLocType: "Polkadot" | "Logion"
Defined in
LocType
Ƭ LocType: "Transaction" | "Collection" | "Identity"
Defined in
Region
Ƭ Region: LogionRuntimeRegion["type"]
Defined in
Variables
ARTIFICIAL_MAX_BALANCE
• Const ARTIFICIAL_MAX_BALANCE: PrefixedNumber
Defined in
ETHEREUM_ADDRESS_LENGTH_IN_BITS
• Const ETHEREUM_ADDRESS_LENGTH_IN_BITS: number
Defined in
EXPECTED_PARA_VERSION
• Const EXPECTED_PARA_VERSION: 3000n
Defined in
EXPECTED_SOLO_VERSION
• Const EXPECTED_SOLO_VERSION: 164n
Defined in
EXPECTED_SPEC_NAME
• Const EXPECTED_SPEC_NAME: "logion"
Defined in
SS58_PREFIX
• Const SS58_PREFIX: 2021
Defined in
Functions
buildApiClass
▸ buildApiClass(endpoint): Promise<LogionNodeApiClass>
Builds a connected interface to the Logion chain.
Parameters
| Name | Type | Description |
|---|---|---|
endpoint | string | 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
isLogionDataLoc
▸ isLogionDataLoc(loc): boolean
Parameters
| Name | Type |
|---|---|
loc | LegalOfficerCase |
Returns
boolean
Defined in
isLogionIdentityLoc
▸ isLogionIdentityLoc(loc): boolean
Parameters
| Name | Type |
|---|---|
loc | LegalOfficerCase |
Returns
boolean
Defined in
toDecimalString
▸ toDecimalString(value): string
Parameters
| Name | Type |
|---|---|
value | string |
Returns
string