Skip to content

Module: core

Core APIs

npm install @self.id/core

Classes

Type aliases

CeramicNetwork

Ƭ CeramicNetwork: "local" | "mainnet-gateway" | "testnet-clay" | "testnet-clay-gateway"


CoreModelTypes

Ƭ CoreModelTypes: ModelTypeAliases<Object, Object>


CoreParams

Ƭ CoreParams<ModelTypes>: Object

Type parameters

Name Type
ModelTypes extends CoreModelTypesCoreModelTypes

Type declaration

Name Type
ceramic CeramicNetwork | string
model? ModelTypes

PublicIDParams

Ƭ PublicIDParams<ModelTypes>: Object

Type parameters

Name Type
ModelTypes extends CoreModelTypesCoreModelTypes

Type declaration

Name Type
core Core<ModelTypes>
id string

Variables

CERAMIC_URLS

Const CERAMIC_URLS: Record<CeramicNetwork, string>

Functions

isCAIP10string

isCAIP10string(account): boolean

Parameters

Name Type
account string

Returns

boolean