async def METHOD_NAME(
    aries_controller: AcaPyClient, verifier: Verifier, proof_id: str
) -> Optional[str]:
    proof_record = await verifier.get_proof_record(
        controller=aries_controller, proof_id=proof_id
    )
    return proof_record.connection_id