Get proof request details
Returns details on a proof request.
Function
- React Native
- iOS
- Android
getProof(proofId: ProofDetail["id"]): Promise<ProofDetail>
func getProof(proofId: String) throws -> ProofRequestBindingDto
fun `getProof`(`proofId`: String): ProofRequestBindingDto
Parameters
proofId
- ID of proof request; value from the handle invitation function.
Return value
- React Native
- iOS
- Android
export interface ProofDetail {
id: string;
createdDate: string;
lastModified: string;
proofInputs: ProofInput[];
state: ProofStateEnum;
proofSchema?: ProofSchemaListItem;
verifierDid?: string;
exchange: string;
transport: string;
redirectUri?: string;
}
public struct ProofRequestBindingDto {
public var id: String
public var createdDate: String
public var lastModified: String
public var verifierDid: String?
public var proofSchema: GetProofSchemaListItemBindingDto?
public var exchange: String
public var redirectUri: String?
public var state: ProofStateBindingEnum
public var proofInputs: [ProofInputBindingDto]
}
data class ProofRequestBindingDto (
var `id`: kotlin.String,
var `createdDate`: kotlin.String,
var `lastModified`: kotlin.String,
var `verifierDid`: kotlin.String?,
var `proofSchema`: GetProofSchemaListItemBindingDto?,
var `exchange`: kotlin.String,
var `redirectUri`: kotlin.String?,
var `state`: ProofStateBindingEnum,
var `proofInputs`: List<ProofInputBindingDto>
)
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.