Skip to main content

FetchHandler.handleCredentialOffer() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Handles only messages with credentials/1.0/offer type

Signature:

handleCredentialOffer(offer: Uint8Array, opts?: FetchHandlerOptions): Promise<W3CCredential[]>;

Parameters

ParameterTypeDescription
offerUint8Array
optsFetchHandlerOptions(Optional)

Returns:

Promise<W3CCredential[]>

Promise<W3CCredential>