UNPKG

@enbox/api

Version:

SDK for accessing the features and capabilities of Web5

24 lines 670 B
import type { Web5Agent } from '@enbox/agent'; /** * The VC API is used to issue, present and verify VCs * * @beta */ export declare class VcApi { /** * Holds the instance of a {@link Web5Agent} that represents the current execution context for * the `VcApi`. This agent is used to process VC requests. */ private agent; /** The DID of the tenant under which DID operations are being performed. */ private connectedDid; constructor(options: { agent: Web5Agent; connectedDid: string; }); /** * Issues a VC (Not implemented yet) */ create(): Promise<void>; } //# sourceMappingURL=vc-api.d.ts.map