Skip to main content

ElvSpace

Constructor​

new ElvSpace({
  configUrl,
  mainObjectId
}) → ElvSpace

Instantiate the ElvSpace Object

Returns: New ElvSpace object connected to the specified content fabric and blockchain

Parameters

NameTypeRequiredDescription
configUrlstring✓

The Content Fabric configuration URL

mainObjectIdstring✓

The top-level Eluvio Live object ID

SpaceNodes​

SpaceNodes(
  matchEndpoint,
  matchNodeId
)

Return a list of nodes in the content space, optionally filtered by node ID or endpoint.

Parameters

NameTypeRequiredDescription
matchEndpointstring✓

Only return nodes that have endpoints matching this string

matchNodeIdstring✓

Only return the node matching this nodeId