Skip to main content

Get proof request details

Returns details on a proof request.

Function

getProof(proofId: ProofDetail["id"]): Promise<ProofDetail>

Parameters

Return value

export interface ProofDetail {
id: string;
createdDate: string;
lastModified: string;
proofInputs: ProofInput[];
state: ProofStateEnum;
proofSchema?: ProofSchemaListItem;
verifierDid?: string;
exchange: string;
transport: string;
redirectUri?: string;
}

Fields

  • verifierDid - DID of the verifier making the request.

  • exchange - Exchange protocol used to make the request.

  • transport - Transport protocol used to transmit proof request.

  • proofSchema - Proof schema information.

  • state - See the proof request states guide.

    • [CREATED, PENDING, REQUESTED, ACCEPTED, REJECTED, ERROR]
  • redirectUri - When a shared proof is accepted, the holder is redirected to the resource specified here.

  • proofInputs - The values submitted by the holder.