Skip to content

ParcnetAPI

Wraps the Parcnet RPC API to provide a more user-friendly interface. Specifically, this handles serialization and deserialization of PODs and query data.

Constructors

new ParcnetAPI()

new ParcnetAPI(api, modalEmitter): ParcnetAPI

Parameters

api: ParcnetRPCConnector

modalEmitter: Emitter<ModalEvents>

Returns

ParcnetAPI

Defined in

packages/app-connector/src/api_wrapper.ts:272

Properties

gpc

gpc: ParcnetGPCWrapper

Defined in

packages/app-connector/src/api_wrapper.ts:263


identity

identity: ParcnetIdentityWrapper

Defined in

packages/app-connector/src/api_wrapper.ts:262


pod

pod: ParcnetPODWrapper

Defined in

packages/app-connector/src/api_wrapper.ts:261

Methods

disconnect()

disconnect(): Promise<void>

Returns

Promise<void>

Defined in

packages/app-connector/src/api_wrapper.ts:267