Skip to main content

modules

@bosonprotocol/core-sdk / Exports

@bosonprotocol/core-sdk

Table of contents

References

Namespaces

Enumerations

Classes

Type Aliases

Variables

Functions

References

validateMetadata

Re-exports validateMetadata

Type Aliases

AnyMetadata

Ƭ AnyMetadata: BaseMetadata | ProductV1Metadata

Defined in

node_modules/@bosonprotocol/metadata/dist/cjs/index.d.ts:3


EnvironmentType

Ƭ EnvironmentType: "local" | "testing" | "staging" | "production"

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/configs.d.ts:7


MetaTxConfig

Ƭ MetaTxConfig: Object

Type declaration

NameType
apiIdsRecord<string, Record<string, string>>
apiKeystring
relayerUrlstring

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/configs.d.ts:8

Variables

defaultConfigs

Const defaultConfigs: ProtocolConfig[]

Defined in

node_modules/@bosonprotocol/common/dist/cjs/configs.d.ts:2

Functions

getDefaultConfig

getDefaultConfig(envName): ProtocolConfig

Returns default config values based on provided envName or chainId that can be used to instantiate a CoreSDK instance. The argument envName has a higher specificity than chainId.

Parameters

NameType
envNameEnvironmentType

Returns

ProtocolConfig

Default config.

Defined in

node_modules/@bosonprotocol/common/dist/cjs/configs.d.ts:10